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 12:27:22 +0300 |
commit | afcff45cee04c5c7d9c333504046ffb63d1418b5 (patch) | |
tree | f5f60eca9b8692d148bd742aee93e0f96a5845a3 /src/liblzma/common/common.h | |
parent | Update THANKS. (diff) | |
download | xz-afcff45cee04c5c7d9c333504046ffb63d1418b5.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 b8194323..45aba4f0 100644 --- a/src/liblzma/common/common.h +++ b/src/liblzma/common/common.h @@ -205,7 +205,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); |