diff options
author | Lasse Collin <lasse.collin@tukaani.org> | 2009-09-15 21:07:23 +0300 |
---|---|---|
committer | Lasse Collin <lasse.collin@tukaani.org> | 2009-09-15 21:07:23 +0300 |
commit | 49cfc8d392cf535f8dd10233225b1fc726fec9ef (patch) | |
tree | ef6dcdc0942d7713d6fb6cc14c14aa49ebe52587 /src/liblzma/common | |
parent | Fix GCC version check for nothrow attribute. (diff) | |
download | xz-49cfc8d392cf535f8dd10233225b1fc726fec9ef.tar.xz |
Fix incorrect use of "restrict".
Diffstat (limited to 'src/liblzma/common')
-rw-r--r-- | src/liblzma/common/vli_decoder.c | 2 | ||||
-rw-r--r-- | src/liblzma/common/vli_encoder.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/liblzma/common/vli_decoder.c b/src/liblzma/common/vli_decoder.c index ffb27cad..44a1ecfe 100644 --- a/src/liblzma/common/vli_decoder.c +++ b/src/liblzma/common/vli_decoder.c @@ -14,7 +14,7 @@ extern LZMA_API(lzma_ret) -lzma_vli_decode(lzma_vli *restrict vli, size_t *restrict vli_pos, +lzma_vli_decode(lzma_vli *restrict vli, size_t *vli_pos, const uint8_t *restrict in, size_t *restrict in_pos, size_t in_size) { diff --git a/src/liblzma/common/vli_encoder.c b/src/liblzma/common/vli_encoder.c index ebc9f344..f8642694 100644 --- a/src/liblzma/common/vli_encoder.c +++ b/src/liblzma/common/vli_encoder.c @@ -14,7 +14,7 @@ extern LZMA_API(lzma_ret) -lzma_vli_encode(lzma_vli vli, size_t *restrict vli_pos, +lzma_vli_encode(lzma_vli vli, size_t *vli_pos, uint8_t *restrict out, size_t *restrict out_pos, size_t out_size) { |