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/common.h | |
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 'src/liblzma/common/common.h')
-rw-r--r-- | src/liblzma/common/common.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/liblzma/common/common.h b/src/liblzma/common/common.h index 9d776f9a..5c92af27 100644 --- a/src/liblzma/common/common.h +++ b/src/liblzma/common/common.h @@ -221,7 +221,7 @@ struct lzma_internal_s { /// Allocates memory extern void *lzma_alloc(size_t size, lzma_allocator *allocator) - lzma_attribute((malloc)) lzma_attr_alloc_size(1); + lzma_attribute((__malloc__)) lzma_attr_alloc_size(1); /// Frees memory extern void lzma_free(void *ptr, lzma_allocator *allocator); |