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 11:54:38 +0300
commit4c6e146df99696920f12410fb17754412797ef36 (patch)
tree3208666bbb8b3a11c3e0c24e7c3d4d26f05d3144 /src/liblzma/common/common.c
parentxz: Fix input file position when --single-stream is used. (diff)
downloadxz-4c6e146df99696920f12410fb17754412797ef36.tar.xz
Add underscores to attributes (__attribute((__foo__))).
Diffstat (limited to 'src/liblzma/common/common.c')
-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 6afb4fbf..85ae96a9 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.