From 0892c5eceb206e6f7d62ae2ede78d42a30c0fe83 Mon Sep 17 00:00:00 2001 From: Joe Orton Date: Mon, 16 Jul 2007 07:39:43 +0000 Subject: * src/ne_alloc.h (ne_realloc): Don't mark with malloc attribute, per GCC manual. --- src/ne_alloc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ne_alloc.h') diff --git a/src/ne_alloc.h b/src/ne_alloc.h index 60ff882..a0421f0 100644 --- a/src/ne_alloc.h +++ b/src/ne_alloc.h @@ -45,7 +45,7 @@ void ne_oom_callback(ne_oom_callback_fn callback); * operating system does not use optimistic memory allocation. */ void *ne_malloc(size_t size) ne_attribute_malloc; void *ne_calloc(size_t size) ne_attribute_malloc; -void *ne_realloc(void *ptr, size_t s) ne_attribute_malloc; +void *ne_realloc(void *ptr, size_t s); char *ne_strdup(const char *s) ne_attribute_malloc; char *ne_strndup(const char *s, size_t n) ne_attribute_malloc; #define ne_free free -- cgit v1.2.1