diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2010-01-04 13:46:43 +0200 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2010-01-04 13:46:43 +0200 |
commit | 60dc809db136e8bba12a9d45e189248218e304cb (patch) | |
tree | 2e3a52b0e6f88b9893763683114a42b3030938d0 /rpmio | |
parent | 216cf2acb664e8d7f8a47857a942adba43d0fec2 (diff) | |
download | rpm-60dc809db136e8bba12a9d45e189248218e304cb.tar.gz rpm-60dc809db136e8bba12a9d45e189248218e304cb.tar.bz2 rpm-60dc809db136e8bba12a9d45e189248218e304cb.zip |
Eliminate myrealloc() replacement function
- realloc(NULL, size) is defined as equal to malloc(size) in C99 and
POSIX 2001, we dont care about anything older than that
Diffstat (limited to 'rpmio')
-rw-r--r-- | rpmio/rpmmalloc.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/rpmio/rpmmalloc.c b/rpmio/rpmmalloc.c index 479fe88fc..fd93cbc2b 100644 --- a/rpmio/rpmmalloc.c +++ b/rpmio/rpmmalloc.c @@ -10,11 +10,6 @@ #include "debug.h" -#if NEED_MYREALLOC -#define realloc(ptr,size) myrealloc(ptr,size) -extern void *myrealloc(void *, size_t); -#endif - static rpmMemFailFunc failfunc = NULL; static void *failfunc_data = NULL; |