aboutsummaryrefslogtreecommitdiff
path: root/src/liblzma/api/lzma/vli.h
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2009-09-15 21:07:23 +0300
committerLasse Collin <lasse.collin@tukaani.org>2009-09-15 21:07:23 +0300
commit49cfc8d392cf535f8dd10233225b1fc726fec9ef (patch)
treeef6dcdc0942d7713d6fb6cc14c14aa49ebe52587 /src/liblzma/api/lzma/vli.h
parentFix GCC version check for nothrow attribute. (diff)
downloadxz-49cfc8d392cf535f8dd10233225b1fc726fec9ef.tar.xz
Fix incorrect use of "restrict".
Diffstat (limited to '')
-rw-r--r--src/liblzma/api/lzma/vli.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/liblzma/api/lzma/vli.h b/src/liblzma/api/lzma/vli.h
index f30e8210..7fa7b7f1 100644
--- a/src/liblzma/api/lzma/vli.h
+++ b/src/liblzma/api/lzma/vli.h
@@ -114,7 +114,7 @@ typedef uint64_t lzma_vli;
* - LZMA_PROG_ERROR: Arguments are not sane.
*/
extern LZMA_API(lzma_ret) lzma_vli_encode(lzma_vli vli,
- size_t *lzma_restrict vli_pos, uint8_t *lzma_restrict out,
+ size_t *vli_pos, uint8_t *lzma_restrict out,
size_t *lzma_restrict out_pos, size_t out_size) lzma_nothrow;
@@ -154,7 +154,7 @@ extern LZMA_API(lzma_ret) lzma_vli_encode(lzma_vli vli,
* - LZMA_PROG_ERROR: Arguments are not sane.
*/
extern LZMA_API(lzma_ret) lzma_vli_decode(lzma_vli *lzma_restrict vli,
- size_t *lzma_restrict vli_pos, const uint8_t *lzma_restrict in,
+ size_t *vli_pos, const uint8_t *lzma_restrict in,
size_t *lzma_restrict in_pos, size_t in_size) lzma_nothrow;