diff options
author | Joe Orton <notroj@users.noreply.github.com> | 2007-07-16 07:39:43 +0000 |
---|---|---|
committer | Joe Orton <notroj@users.noreply.github.com> | 2007-07-16 07:39:43 +0000 |
commit | 0892c5eceb206e6f7d62ae2ede78d42a30c0fe83 (patch) | |
tree | 63f6d11e431cbf061c685287a90877cc36f47858 /src/ne_alloc.h | |
parent | 4e9ef78afb73855d4dc45c74124ff20fce8a5c18 (diff) | |
download | neon-git-0892c5eceb206e6f7d62ae2ede78d42a30c0fe83.tar.gz |
* src/ne_alloc.h (ne_realloc): Don't mark with malloc attribute, per
GCC manual.
Diffstat (limited to 'src/ne_alloc.h')
-rw-r--r-- | src/ne_alloc.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 |