summaryrefslogtreecommitdiff
path: root/iconv/strtab.c
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2001-07-23 07:55:03 +0000
committerAndreas Jaeger <aj@suse.de>2001-07-23 07:55:03 +0000
commit0588dfe7f9e6611cc0e941a4e33d46a000980c33 (patch)
treeb138a49fdcef44ea47e612d3a7879ebcb012e68a /iconv/strtab.c
parent42240ec16ec0f44f42ec39b7151ba2fa12c37f63 (diff)
downloadglibc-0588dfe7f9e6611cc0e941a4e33d46a000980c33.tar.gz
* iconv/iconvconfig.c: Include <sys/cdefs.h> and use
__attribute_malloc__ for older GCC versions. * iconv/strtab.c: Likewise.
Diffstat (limited to 'iconv/strtab.c')
-rw-r--r--iconv/strtab.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/iconv/strtab.c b/iconv/strtab.c
index be79dc29ed..49fb254454 100644
--- a/iconv/strtab.c
+++ b/iconv/strtab.c
@@ -26,6 +26,7 @@
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
+#include <sys/cdefs.h>
#include <sys/param.h>
@@ -65,7 +66,7 @@ struct Strtab
static size_t ps;
-extern void *xmalloc (size_t n) __attribute__ ((__malloc__));
+extern void *xmalloc (size_t n) __attribute_malloc__;
struct Strtab *