summaryrefslogtreecommitdiff
path: root/system.h
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2009-12-23 12:55:45 +0200
committerPanu Matilainen <pmatilai@redhat.com>2009-12-23 12:55:45 +0200
commit162fc36e144707cd21e0063bcbbbb3f202bdc870 (patch)
tree5fb76291ae1efeec0f532a6970130962cbc52464 /system.h
parent4a1e75d1393b9aee7fc8b69a9debdf45aab3053a (diff)
downloadrpm-162fc36e144707cd21e0063bcbbbb3f202bdc870.tar.gz
Move malloc portability tweaks out of system.h
- only rpmmalloc.c needs, no need to pollute system.h
Diffstat (limited to 'system.h')
-rw-r--r--system.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/system.h b/system.h
index e9ba13a41..43e70c9eb 100644
--- a/system.h
+++ b/system.h
@@ -189,10 +189,6 @@ char *realpath(const char *path, char resolved_path []);
#include <err.h>
#endif
-#if HAVE_MALLOC_H
-#include <malloc.h>
-#endif
-
#if WITH_SELINUX
#include <selinux/selinux.h>
#else
@@ -319,11 +315,6 @@ extern const char *__progname;
#include <strings.h>
#endif
-#if NEED_MYREALLOC
-#define realloc(ptr,size) myrealloc(ptr,size)
-extern void *myrealloc(void *, size_t);
-#endif
-
#if ! HAVE_SETENV
extern int setenv(const char *name, const char *value, int replace);
extern void unsetenv(const char *name);