From: caro Date: Tue, 20 Jan 2009 16:14:36 +0000 (+0000) Subject: too much alloca declarations :-) X-Git-Tag: 2.0_alpha~70^2~1047 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0208c9f77d4b360595c0c536907cb33f9f2ba826;p=framework%2Fuifw%2Feina.git too much alloca declarations :-) git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@38665 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- 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