alloca is now declared in xmalloc.h
authorMatthias Braun <matze@braunis.de>
Mon, 2 Apr 2007 17:44:21 +0000 (17:44 +0000)
committerMatthias Braun <matze@braunis.de>
Mon, 2 Apr 2007 17:44:21 +0000 (17:44 +0000)
[r12648]

ir/be/TEMPLATE/TEMPLATE_new_nodes.c
ir/be/arm/arm_new_nodes.c
ir/be/ia32/bearch_ia32.c
ir/be/ia32/ia32_new_nodes.c
ir/be/mips/mips_new_nodes.c
ir/be/ppc32/ppc32_new_nodes.c
ir/st/st.c
ir/tr/entity.c
ir/tr/type.c

index ba1af80..bccb995 100644 (file)
@@ -7,12 +7,6 @@
 #include "config.h"
 #endif
 
-#ifdef _WIN32
-#include <malloc.h>
-#else
-#include <alloca.h>
-#endif
-
 #include <stdlib.h>
 
 #include "irprog_t.h"
@@ -25,6 +19,7 @@
 #include "firm_common_t.h"
 #include "irvrfy_t.h"
 #include "irprintf.h"
+#include "xmalloc.h"
 
 #include "../bearch.h"
 
index 5ffd020..e200dd4 100644 (file)
@@ -7,14 +7,6 @@
 #include "config.h"
 #endif
 
-#ifdef HAVE_MALLOC_H
-#include <malloc.h>
-#endif
-
-#ifdef HAVE_ALLOCA_H
-#include <alloca.h>
-#endif
-
 #include <stdlib.h>
 
 #include "irprog_t.h"
@@ -27,6 +19,7 @@
 #include "firm_common_t.h"
 #include "irvrfy_t.h"
 #include "irprintf.h"
+#include "xmalloc.h"
 
 #include "../bearch.h"
 
index 67e52f7..1f224c2 100644 (file)
@@ -7,14 +7,6 @@
 #include "config.h"
 #endif
 
-#ifdef HAVE_MALLOC_H
-#include <malloc.h>
-#endif
-
-#ifdef HAVE_ALLOCA_H
-#include <alloca.h>
-#endif
-
 #include <libcore/lc_opts.h>
 #include <libcore/lc_opts_enum.h>
 
@@ -34,6 +26,7 @@
 #include "pset.h"
 #include "debug.h"
 #include "error.h"
+#include "xmalloc.h"
 
 #include "../beabi.h"
 #include "../beirg.h"
index dc650b7..a445dd2 100644 (file)
@@ -8,14 +8,6 @@
 #include "config.h"
 #endif
 
-#ifdef HAVE_MALLOC_H
-#include <malloc.h>
-#endif
-
-#ifdef HAVE_ALLOCA_H
-#include <alloca.h>
-#endif
-
 #include <stdlib.h>
 
 #include "irprog_t.h"
@@ -31,6 +23,7 @@
 #include "iredges.h"
 #include "error.h"
 #include "raw_bitset.h"
+#include "xmalloc.h"
 
 #include "../bearch.h"
 
index df70986..dbe9e26 100644 (file)
@@ -7,12 +7,6 @@
 #include "config.h"
 #endif
 
-#ifdef _WIN32
-#include <malloc.h>
-#else
-#include <alloca.h>
-#endif
-
 #include <stdlib.h>
 
 #include "irprog_t.h"
@@ -25,6 +19,7 @@
 #include "firm_common_t.h"
 #include "irvrfy_t.h"
 #include "irprintf.h"
+#include "xmalloc.h"
 
 #include "../bearch.h"
 
index 3d11026..f71d290 100644 (file)
@@ -7,12 +7,6 @@
 #include "config.h"
 #endif
 
-#ifdef _WIN32
-#include <malloc.h>
-#else
-#include <alloca.h>
-#endif
-
 #include <stdlib.h>
 
 #include "irprog_t.h"
@@ -25,6 +19,7 @@
 #include "firm_common_t.h"
 #include "irvrfy_t.h"
 #include "irprintf.h"
+#include "xmalloc.h"
 
 #include "../bearch.h"
 
index e51d5a7..0644524 100644 (file)
 #ifdef HAVE_STDLIB_H
 # include <stdlib.h>
 #endif
-#ifdef HAVE_MALLOC_H
-# include <malloc.h>
-#endif
-#ifdef HAVE_ALLOCA_H
-# include <alloca.h>
-#endif
 
 # include "st.h"
 # include "irgwalk.h"
index 31268fb..6115228 100644 (file)
 #ifdef HAVE_STDDEF_H
 # include <stddef.h>
 #endif
-#ifdef HAVE_MALLOC_H
-# include <malloc.h>
-#endif
-#ifdef HAVE_ALLOCA_H
-# include <alloca.h>
-#endif
 
 #include "firm_common_t.h"
 
index 9872f29..a4a8fd4 100644 (file)
 # include "config.h"
 #endif
 
-#ifdef HAVE_ALLOCA_H
-#include <alloca.h>
-#endif
-#ifdef HAVE_MALLOC_H
-#include <malloc.h>
-#endif
 #ifdef HAVE_STRING_H
 # include <string.h>
 #endif