diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2009-12-23 12:55:45 +0200 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2009-12-23 12:55:45 +0200 |
commit | 162fc36e144707cd21e0063bcbbbb3f202bdc870 (patch) | |
tree | 5fb76291ae1efeec0f532a6970130962cbc52464 /system.h | |
parent | 4a1e75d1393b9aee7fc8b69a9debdf45aab3053a (diff) | |
download | rpm-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.h | 9 |
1 files changed, 0 insertions, 9 deletions
@@ -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); |