From 0208c9f77d4b360595c0c536907cb33f9f2ba826 Mon Sep 17 00:00:00 2001 From: caro Date: Tue, 20 Jan 2009 16:14:36 +0000 Subject: [PATCH] too much alloca declarations :-) git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@38665 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/lib/eina_benchmark.c | 17 ----------------- src/lib/eina_module.c | 17 ----------------- 2 files changed, 34 deletions(-) diff --git a/src/lib/eina_benchmark.c b/src/lib/eina_benchmark.c index e2bb154..28e504f 100644 --- a/src/lib/eina_benchmark.c +++ b/src/lib/eina_benchmark.c @@ -49,23 +49,6 @@ extern "C" void *alloca (size_t); #endif -#ifdef HAVE_ALLOCA_H -# include -#elif defined __GNUC__ -# define alloca __builtin_alloca -#elif defined _AIX -# define alloca __alloca -#elif defined _MSC_VER -# include -# define alloca _alloca -#else -# include -# ifdef __cplusplus -extern "C" -# endif -void *alloca (size_t); -#endif - #include "eina_benchmark.h" #include "eina_inlist.h" #include "eina_counter.h" diff --git a/src/lib/eina_module.c b/src/lib/eina_module.c index c2fd22a..b2f2a66 100644 --- a/src/lib/eina_module.c +++ b/src/lib/eina_module.c @@ -46,23 +46,6 @@ extern "C" void *alloca (size_t); #endif -#ifdef HAVE_ALLOCA_H -# include -#elif defined __GNUC__ -# define alloca __builtin_alloca -#elif defined _AIX -# define alloca __alloca -#elif defined _MSC_VER -# include -# define alloca _alloca -#else -# include -# ifdef __cplusplus -extern "C" -# endif -void *alloca (size_t); -#endif - #include #ifdef HAVE_EVIL -- 2.7.4