diff options
author | Lasse Collin <lasse.collin@tukaani.org> | 2011-05-17 11:54:38 +0300 |
---|---|---|
committer | Lasse Collin <lasse.collin@tukaani.org> | 2011-05-17 11:54:38 +0300 |
commit | 4c6e146df99696920f12410fb17754412797ef36 (patch) | |
tree | 3208666bbb8b3a11c3e0c24e7c3d4d26f05d3144 /src/liblzma/common/index_encoder.c | |
parent | xz: Fix input file position when --single-stream is used. (diff) | |
download | xz-4c6e146df99696920f12410fb17754412797ef36.tar.xz |
Add underscores to attributes (__attribute((__foo__))).
Diffstat (limited to '')
-rw-r--r-- | src/liblzma/common/index_encoder.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/liblzma/common/index_encoder.c b/src/liblzma/common/index_encoder.c index c10d7afa..45919f09 100644 --- a/src/liblzma/common/index_encoder.c +++ b/src/liblzma/common/index_encoder.c @@ -42,12 +42,13 @@ struct lzma_coder_s { static lzma_ret index_encode(lzma_coder *coder, - lzma_allocator *allocator lzma_attribute((unused)), - const uint8_t *restrict in lzma_attribute((unused)), - size_t *restrict in_pos lzma_attribute((unused)), - size_t in_size lzma_attribute((unused)), + lzma_allocator *allocator lzma_attribute((__unused__)), + const uint8_t *restrict in lzma_attribute((__unused__)), + size_t *restrict in_pos lzma_attribute((__unused__)), + size_t in_size lzma_attribute((__unused__)), uint8_t *restrict out, size_t *restrict out_pos, - size_t out_size, lzma_action action lzma_attribute((unused))) + size_t out_size, + lzma_action action lzma_attribute((__unused__))) { // Position where to start calculating CRC32. The idea is that we // need to call lzma_crc32() only once per call to index_encode(). |