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.c | |
parent | Update THANKS. (diff) | |
download | xz-afcff45cee04c5c7d9c333504046ffb63d1418b5.tar.xz |
Add underscores to attributes (__attribute((__foo__))).
Diffstat (limited to '')
-rw-r--r-- | src/liblzma/common/common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/liblzma/common/common.c b/src/liblzma/common/common.c index 0408e153..b9e38602 100644 --- a/src/liblzma/common/common.c +++ b/src/liblzma/common/common.c @@ -35,7 +35,7 @@ lzma_version_string(void) // Memory allocation // /////////////////////// -extern void * lzma_attribute((malloc)) +extern void * lzma_attribute((__malloc__)) lzma_attr_alloc_size(1) lzma_alloc(size_t size, lzma_allocator *allocator) { // Some malloc() variants return NULL if called with size == 0. |