summaryrefslogtreecommitdiff
path: root/nss/makedb.c
diff options
context:
space:
mode:
Diffstat (limited to 'nss/makedb.c')
-rw-r--r--nss/makedb.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/nss/makedb.c b/nss/makedb.c
index 52d4ae35ad..e9b6af0fcb 100644
--- a/nss/makedb.c
+++ b/nss/makedb.c
@@ -167,8 +167,10 @@ static void reset_file_creation_context (void);
/* External functions. */
-extern void *xmalloc (size_t n) __attribute_malloc__;
-extern void *xcalloc (size_t n, size_t m) __attribute_malloc__;
+extern void *xmalloc (size_t n)
+ __attribute_malloc__ __attribute_alloc_size (1);
+extern void *xcalloc (size_t n, size_t s)
+ __attribute_malloc__ __attribute_alloc_size (1, 2);
int