summaryrefslogtreecommitdiff
path: root/system.h
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2008-04-30 14:38:09 +0300
committerPanu Matilainen <pmatilai@redhat.com>2008-04-30 14:38:09 +0300
commita306a04a895a1632ad80753c61e57864f0019441 (patch)
tree784e879630034a7c42095106ecf0eb4c06f7786b /system.h
parentc089a45bf6100b9df9cf0452759c7c46ea3bbc5b (diff)
downloadrpm-a306a04a895a1632ad80753c61e57864f0019441.tar.gz
rpm-a306a04a895a1632ad80753c61e57864f0019441.tar.bz2
rpm-a306a04a895a1632ad80753c61e57864f0019441.zip
RIP alloca()
Diffstat (limited to 'system.h')
-rw-r--r--system.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/system.h b/system.h
index 573064f4b..bb1e22c65 100644
--- a/system.h
+++ b/system.h
@@ -154,20 +154,6 @@ char *realpath(const char *path, char resolved_path []);
# endif /* HAVE_NDIR_H */
#endif /* HAVE_DIRENT_H */
-#ifdef __GNUC__
-# undef alloca
-# define alloca __builtin_alloca
-#else
-# ifdef HAVE_ALLOCA_H
-# include <alloca.h>
-# else
-# ifndef _AIX
-/* AIX alloca decl has to be the first thing in the file, bletch! */
-char *alloca ();
-# endif
-# endif
-#endif
-
#include <ctype.h>
#if HAVE_SYS_MMAN_H