summaryrefslogtreecommitdiff
path: root/rpmio
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2010-01-04 13:46:43 +0200
committerPanu Matilainen <pmatilai@redhat.com>2010-01-04 13:46:43 +0200
commit60dc809db136e8bba12a9d45e189248218e304cb (patch)
tree2e3a52b0e6f88b9893763683114a42b3030938d0 /rpmio
parent216cf2acb664e8d7f8a47857a942adba43d0fec2 (diff)
downloadrpm-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.c5
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;