aboutsummaryrefslogtreecommitdiff
path: root/src/liblzma/common/common.c
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2011-05-17 11:54:38 +0300
committerLasse Collin <lasse.collin@tukaani.org>2011-05-17 12:27:22 +0300
commitafcff45cee04c5c7d9c333504046ffb63d1418b5 (patch)
treef5f60eca9b8692d148bd742aee93e0f96a5845a3 /src/liblzma/common/common.c
parentUpdate THANKS. (diff)
downloadxz-afcff45cee04c5c7d9c333504046ffb63d1418b5.tar.xz
Add underscores to attributes (__attribute((__foo__))).
Diffstat (limited to '')
-rw-r--r--src/liblzma/common/common.c2
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.