summaryrefslogtreecommitdiff
path: root/legacy/ecore/src
diff options
context:
space:
mode:
authorVincent Torri <vincent.torri@gmail.com>2012-11-23 21:55:46 +0000
committerVincent Torri <vincent.torri@gmail.com>2012-11-23 21:55:46 +0000
commita943f063bc3903f26c19537b61d3e84111239db9 (patch)
tree72bb4059e57e8225d617582b5790dfb312a0bc1c /legacy/ecore/src
parent14a4767f24c89d12caeba9b519837019c2bf4ea5 (diff)
ecore, eio : revert alloca commits (and other solaris math commits, i know)
SVN revision: 79610
Diffstat (limited to '')
-rw-r--r--legacy/ecore/src/lib/ecore/ecore_alloc.c18
-rw-r--r--legacy/ecore/src/lib/ecore/ecore_exe.c18
-rw-r--r--legacy/ecore/src/lib/ecore/ecore_getopt.c35
-rw-r--r--legacy/ecore/src/lib/ecore/ecore_pipe.c4
-rw-r--r--legacy/ecore/src/lib/ecore_con/dns.c20
-rw-r--r--legacy/ecore/src/lib/ecore_con/ecore_con.c18
-rw-r--r--legacy/ecore/src/lib/ecore_con/ecore_con_alloc.c18
-rw-r--r--legacy/ecore/src/lib/ecore_con/ecore_con_eet.c18
-rw-r--r--legacy/ecore/src/lib/ecore_con/ecore_con_info.c1
-rw-r--r--legacy/ecore/src/lib/ecore_con/ecore_con_local_win32.c18
-rw-r--r--legacy/ecore/src/lib/ecore_con/ecore_con_socks.c18
-rw-r--r--legacy/ecore/src/lib/ecore_con/ecore_con_ssl.c18
-rw-r--r--legacy/ecore/src/lib/ecore_config/ecore_config.c18
-rw-r--r--legacy/ecore/src/lib/ecore_evas/ecore_evas_extn.c18
-rw-r--r--legacy/ecore/src/lib/ecore_evas/ecore_evas_wayland_egl.c18
-rw-r--r--legacy/ecore/src/lib/ecore_evas/ecore_evas_wayland_shm.c18
-rw-r--r--legacy/ecore/src/lib/ecore_fb/ecore_fb_vt.c18
-rw-r--r--legacy/ecore/src/lib/ecore_file/ecore_file.c18
-rw-r--r--legacy/ecore/src/lib/ecore_file/ecore_file_monitor.c18
-rw-r--r--legacy/ecore/src/lib/ecore_imf/ecore_imf_context.c18
-rw-r--r--legacy/ecore/src/lib/ecore_ipc/ecore_ipc.c18
-rw-r--r--legacy/ecore/src/lib/ecore_wayland/ecore_wl.c18
-rw-r--r--legacy/ecore/src/lib/ecore_wayland/ecore_wl_output.c18
-rw-r--r--legacy/ecore/src/lib/ecore_wayland/ecore_wl_window.c18
-rw-r--r--legacy/ecore/src/lib/ecore_win32/ecore_win32_window.c18
-rw-r--r--legacy/ecore/src/lib/ecore_wince/ecore_wince_window.c18
-rw-r--r--legacy/ecore/src/lib/ecore_x/xcb/ecore_xcb_e.c22
-rw-r--r--legacy/ecore/src/lib/ecore_x/xcb/ecore_xcb_image.c22
-rw-r--r--legacy/ecore/src/lib/ecore_x/xcb/ecore_xcb_selection.c22
-rw-r--r--legacy/ecore/src/lib/ecore_x/xcb/ecore_xcb_window.c22
-rw-r--r--legacy/ecore/src/lib/ecore_x/xlib/ecore_x.c18
-rw-r--r--legacy/ecore/src/lib/ecore_x/xlib/ecore_x_atoms.c1
-rw-r--r--legacy/ecore/src/lib/ecore_x/xlib/ecore_x_e.c18
-rw-r--r--legacy/ecore/src/lib/ecore_x/xlib/ecore_x_image.c18
-rw-r--r--legacy/ecore/src/lib/ecore_x/xlib/ecore_x_randr_12.c18
-rw-r--r--legacy/ecore/src/lib/ecore_x/xlib/ecore_x_selection.c18
-rw-r--r--legacy/ecore/src/lib/ecore_x/xlib/ecore_x_window_prop.c18
37 files changed, 18 insertions, 635 deletions
diff --git a/legacy/ecore/src/lib/ecore/ecore_alloc.c b/legacy/ecore/src/lib/ecore/ecore_alloc.c
index fc51e50319..bec66ef0d5 100644
--- a/legacy/ecore/src/lib/ecore/ecore_alloc.c
+++ b/legacy/ecore/src/lib/ecore/ecore_alloc.c
@@ -2,24 +2,6 @@
2# include "config.h" 2# include "config.h"
3#endif 3#endif
4 4
5#undef alloca
6#ifdef HAVE_ALLOCA_H
7# include <alloca.h>
8#elif defined __GNUC__
9# define alloca __builtin_alloca
10#elif defined _AIX
11# define alloca __alloca
12#elif defined _MSC_VER
13# include <malloc.h>
14# define alloca _alloca
15#else
16# include <stddef.h>
17# ifdef __cplusplus
18extern "C"
19# endif
20void *alloca (size_t);
21#endif
22
23#include <stdlib.h> 5#include <stdlib.h>
24 6
25#include <Eina.h> 7#include <Eina.h>
diff --git a/legacy/ecore/src/lib/ecore/ecore_exe.c b/legacy/ecore/src/lib/ecore/ecore_exe.c
index f3f5220226..7cc4b0f3bb 100644
--- a/legacy/ecore/src/lib/ecore/ecore_exe.c
+++ b/legacy/ecore/src/lib/ecore/ecore_exe.c
@@ -2,24 +2,6 @@
2# include <config.h> 2# include <config.h>
3#endif 3#endif
4 4
5#undef alloca
6#ifdef HAVE_ALLOCA_H
7# include <alloca.h>
8#elif defined __GNUC__
9# define alloca __builtin_alloca
10#elif defined _AIX
11# define alloca __alloca
12#elif defined _MSC_VER
13# include <malloc.h>
14# define alloca _alloca
15#else
16# include <stddef.h>
17# ifdef __cplusplus
18extern "C"
19# endif
20void *alloca (size_t);
21#endif
22
23#include <stdlib.h> 5#include <stdlib.h>
24#include <stdio.h> 6#include <stdio.h>
25#include <string.h> 7#include <string.h>
diff --git a/legacy/ecore/src/lib/ecore/ecore_getopt.c b/legacy/ecore/src/lib/ecore/ecore_getopt.c
index d3ffb282f3..377d310f53 100644
--- a/legacy/ecore/src/lib/ecore/ecore_getopt.c
+++ b/legacy/ecore/src/lib/ecore/ecore_getopt.c
@@ -2,24 +2,6 @@
2# include <config.h> 2# include <config.h>
3#endif 3#endif
4 4
5#undef alloca
6#ifdef HAVE_ALLOCA_H
7# include <alloca.h>
8#elif defined __GNUC__
9# define alloca __builtin_alloca
10#elif defined _AIX
11# define alloca __alloca
12#elif defined _MSC_VER
13# include <malloc.h>
14# define alloca _alloca
15#else
16# include <stddef.h>
17# ifdef __cplusplus
18extern "C"
19# endif
20void *alloca (size_t);
21#endif
22
23#ifdef STDC_HEADERS 5#ifdef STDC_HEADERS
24# include <stdlib.h> 6# include <stdlib.h>
25# include <stddef.h> 7# include <stddef.h>
@@ -28,6 +10,23 @@ void *alloca (size_t);
28# include <stdlib.h> 10# include <stdlib.h>
29# endif 11# endif
30#endif 12#endif
13#ifdef HAVE_ALLOCA_H
14# include <alloca.h>
15#elif !defined alloca
16# ifdef __GNUC__
17# define alloca __builtin_alloca
18# elif defined _AIX
19# define alloca __alloca
20# elif defined _MSC_VER
21# include <malloc.h>
22# define alloca _alloca
23# elif !defined HAVE_ALLOCA
24# ifdef __cplusplus
25extern "C"
26# endif
27void *alloca (size_t);
28# endif
29#endif
31 30
32#include <stdlib.h> 31#include <stdlib.h>
33#include <stdio.h> 32#include <stdio.h>
diff --git a/legacy/ecore/src/lib/ecore/ecore_pipe.c b/legacy/ecore/src/lib/ecore/ecore_pipe.c
index 7e0e866712..5da0923f72 100644
--- a/legacy/ecore/src/lib/ecore/ecore_pipe.c
+++ b/legacy/ecore/src/lib/ecore/ecore_pipe.c
@@ -7,10 +7,6 @@
7#include <errno.h> 7#include <errno.h>
8#include <math.h> 8#include <math.h>
9 9
10#ifdef __SUNPRO_C
11# include <ieeefp.h>
12#endif
13
14#ifdef HAVE_ISFINITE 10#ifdef HAVE_ISFINITE
15# define ECORE_FINITE(t) isfinite(t) 11# define ECORE_FINITE(t) isfinite(t)
16#else 12#else
diff --git a/legacy/ecore/src/lib/ecore_con/dns.c b/legacy/ecore/src/lib/ecore_con/dns.c
index 4582f5bad7..b92a3156f5 100644
--- a/legacy/ecore/src/lib/ecore_con/dns.c
+++ b/legacy/ecore/src/lib/ecore_con/dns.c
@@ -27,24 +27,6 @@
27# include "config.h" 27# include "config.h"
28#endif 28#endif
29 29
30#undef alloca
31#ifdef HAVE_ALLOCA_H
32# include <alloca.h>
33#elif defined __GNUC__
34# define alloca __builtin_alloca
35#elif defined _AIX
36# define alloca __alloca
37#elif defined _MSC_VER
38# include <malloc.h>
39# define alloca _alloca
40#else
41# include <stddef.h>
42# ifdef __cplusplus
43extern "C"
44# endif
45void *alloca (size_t);
46#endif
47
48#if !defined(__FreeBSD__) 30#if !defined(__FreeBSD__)
49#ifndef _XOPEN_SOURCE 31#ifndef _XOPEN_SOURCE
50#define _XOPEN_SOURCE 600 32#define _XOPEN_SOURCE 600
@@ -696,7 +678,7 @@ size_t dns_strlcat(char *dst, const char *src, size_t lim) {
696} /* dns_strlcat() */ 678} /* dns_strlcat() */
697 679
698 680
699#if defined(_WIN32) || defined(__SUNPRO_C) 681#if _WIN32
700 682
701static char *dns_strsep(char **sp, const char *delim) { 683static char *dns_strsep(char **sp, const char *delim) {
702 char *p; 684 char *p;
diff --git a/legacy/ecore/src/lib/ecore_con/ecore_con.c b/legacy/ecore/src/lib/ecore_con/ecore_con.c
index 1b253b997b..6298d0483a 100644
--- a/legacy/ecore/src/lib/ecore_con/ecore_con.c
+++ b/legacy/ecore/src/lib/ecore_con/ecore_con.c
@@ -2,24 +2,6 @@
2# include <config.h> 2# include <config.h>
3#endif 3#endif
4 4
5#undef alloca
6#ifdef HAVE_ALLOCA_H
7# include <alloca.h>
8#elif defined __GNUC__
9# define alloca __builtin_alloca
10#elif defined _AIX
11# define alloca __alloca
12#elif defined _MSC_VER
13# include <malloc.h>
14# define alloca _alloca
15#else
16# include <stddef.h>
17# ifdef __cplusplus
18extern "C"
19# endif
20void *alloca (size_t);
21#endif
22
23#include <stdio.h> 5#include <stdio.h>
24#include <string.h> 6#include <string.h>
25#include <sys/types.h> 7#include <sys/types.h>
diff --git a/legacy/ecore/src/lib/ecore_con/ecore_con_alloc.c b/legacy/ecore/src/lib/ecore_con/ecore_con_alloc.c
index 11ad036ee2..324d47d100 100644
--- a/legacy/ecore/src/lib/ecore_con/ecore_con_alloc.c
+++ b/legacy/ecore/src/lib/ecore_con/ecore_con_alloc.c
@@ -2,24 +2,6 @@
2# include "config.h" 2# include "config.h"
3#endif 3#endif
4 4
5#undef alloca
6#ifdef HAVE_ALLOCA_H
7# include <alloca.h>
8#elif defined __GNUC__
9# define alloca __builtin_alloca
10#elif defined _AIX
11# define alloca __alloca
12#elif defined _MSC_VER
13# include <malloc.h>
14# define alloca _alloca
15#else
16# include <stddef.h>
17# ifdef __cplusplus
18extern "C"
19# endif
20void *alloca (size_t);
21#endif
22
23#include "Ecore.h" 5#include "Ecore.h"
24#include "ecore_private.h" 6#include "ecore_private.h"
25#include "Ecore_Con.h" 7#include "Ecore_Con.h"
diff --git a/legacy/ecore/src/lib/ecore_con/ecore_con_eet.c b/legacy/ecore/src/lib/ecore_con/ecore_con_eet.c
index 6802fe3050..ece348ef8d 100644
--- a/legacy/ecore/src/lib/ecore_con/ecore_con_eet.c
+++ b/legacy/ecore/src/lib/ecore_con/ecore_con_eet.c
@@ -2,24 +2,6 @@
2# include <config.h> 2# include <config.h>
3#endif 3#endif
4 4
5#undef alloca
6#ifdef HAVE_ALLOCA_H
7# include <alloca.h>
8#elif defined __GNUC__
9# define alloca __builtin_alloca
10#elif defined _AIX
11# define alloca __alloca
12#elif defined _MSC_VER
13# include <malloc.h>
14# define alloca _alloca
15#else
16# include <stddef.h>
17# ifdef __cplusplus
18extern "C"
19# endif
20void *alloca (size_t);
21#endif
22
23#include <Eina.h> 5#include <Eina.h>
24 6
25#include "Ecore_Con_Eet.h" 7#include "Ecore_Con_Eet.h"
diff --git a/legacy/ecore/src/lib/ecore_con/ecore_con_info.c b/legacy/ecore/src/lib/ecore_con/ecore_con_info.c
index afd90a4842..fdcf0b9a58 100644
--- a/legacy/ecore/src/lib/ecore_con/ecore_con_info.c
+++ b/legacy/ecore/src/lib/ecore_con/ecore_con_info.c
@@ -9,7 +9,6 @@
9# include <config.h> 9# include <config.h>
10#endif 10#endif
11 11
12#undef alloca
13#ifdef HAVE_ALLOCA_H 12#ifdef HAVE_ALLOCA_H
14# include <alloca.h> 13# include <alloca.h>
15#elif defined __GNUC__ 14#elif defined __GNUC__
diff --git a/legacy/ecore/src/lib/ecore_con/ecore_con_local_win32.c b/legacy/ecore/src/lib/ecore_con/ecore_con_local_win32.c
index 67b1717617..2b7e5c5bd2 100644
--- a/legacy/ecore/src/lib/ecore_con/ecore_con_local_win32.c
+++ b/legacy/ecore/src/lib/ecore_con/ecore_con_local_win32.c
@@ -2,24 +2,6 @@
2# include <config.h> 2# include <config.h>
3#endif 3#endif
4 4
5#undef alloca
6#ifdef HAVE_ALLOCA_H
7# include <alloca.h>
8#elif defined __GNUC__
9# define alloca __builtin_alloca
10#elif defined _AIX
11# define alloca __alloca
12#elif defined _MSC_VER
13# include <malloc.h>
14# define alloca _alloca
15#else
16# include <stddef.h>
17# ifdef __cplusplus
18extern "C"
19# endif
20void *alloca (size_t);
21#endif
22
23#include <process.h> 5#include <process.h>
24 6
25#include <Evil.h> 7#include <Evil.h>
diff --git a/legacy/ecore/src/lib/ecore_con/ecore_con_socks.c b/legacy/ecore/src/lib/ecore_con/ecore_con_socks.c
index 4e0abd355f..ad9b9ca23e 100644
--- a/legacy/ecore/src/lib/ecore_con/ecore_con_socks.c
+++ b/legacy/ecore/src/lib/ecore_con/ecore_con_socks.c
@@ -2,24 +2,6 @@
2# include <config.h> 2# include <config.h>
3#endif 3#endif
4 4
5#undef alloca
6#ifdef HAVE_ALLOCA_H
7# include <alloca.h>
8#elif defined __GNUC__
9# define alloca __builtin_alloca
10#elif defined _AIX
11# define alloca __alloca
12#elif defined _MSC_VER
13# include <malloc.h>
14# define alloca _alloca
15#else
16# include <stddef.h>
17# ifdef __cplusplus
18extern "C"
19# endif
20void *alloca (size_t);
21#endif
22
23#include <stdio.h> 5#include <stdio.h>
24#include <string.h> 6#include <string.h>
25#include <sys/types.h> 7#include <sys/types.h>
diff --git a/legacy/ecore/src/lib/ecore_con/ecore_con_ssl.c b/legacy/ecore/src/lib/ecore_con/ecore_con_ssl.c
index 3eb59b342b..1027dbb118 100644
--- a/legacy/ecore/src/lib/ecore_con/ecore_con_ssl.c
+++ b/legacy/ecore/src/lib/ecore_con/ecore_con_ssl.c
@@ -2,24 +2,6 @@
2# include <config.h> 2# include <config.h>
3#endif 3#endif
4 4
5#undef alloca
6#ifdef HAVE_ALLOCA_H
7# include <alloca.h>
8#elif defined __GNUC__
9# define alloca __builtin_alloca
10#elif defined _AIX
11# define alloca __alloca
12#elif defined _MSC_VER
13# include <malloc.h>
14# define alloca _alloca
15#else
16# include <stddef.h>
17# ifdef __cplusplus
18extern "C"
19# endif
20void *alloca (size_t);
21#endif
22
23#if USE_GNUTLS 5#if USE_GNUTLS
24# include <gnutls/gnutls.h> 6# include <gnutls/gnutls.h>
25# include <gnutls/x509.h> 7# include <gnutls/x509.h>
diff --git a/legacy/ecore/src/lib/ecore_config/ecore_config.c b/legacy/ecore/src/lib/ecore_config/ecore_config.c
index d8194fea0b..e81538eb62 100644
--- a/legacy/ecore/src/lib/ecore_config/ecore_config.c
+++ b/legacy/ecore/src/lib/ecore_config/ecore_config.c
@@ -2,24 +2,6 @@
2# include <config.h> 2# include <config.h>
3#endif 3#endif
4 4
5#undef alloca
6#ifdef HAVE_ALLOCA_H
7# include <alloca.h>
8#elif defined __GNUC__
9# define alloca __builtin_alloca
10#elif defined _AIX
11# define alloca __alloca
12#elif defined _MSC_VER
13# include <malloc.h>
14# define alloca _alloca
15#else
16# include <stddef.h>
17# ifdef __cplusplus
18extern "C"
19# endif
20void *alloca (size_t);
21#endif
22
23#include <string.h> 5#include <string.h>
24#include <ctype.h> 6#include <ctype.h>
25#include <stdio.h> 7#include <stdio.h>
diff --git a/legacy/ecore/src/lib/ecore_evas/ecore_evas_extn.c b/legacy/ecore/src/lib/ecore_evas/ecore_evas_extn.c
index 24ecc6416e..c192a3a82b 100644
--- a/legacy/ecore/src/lib/ecore_evas/ecore_evas_extn.c
+++ b/legacy/ecore/src/lib/ecore_evas/ecore_evas_extn.c
@@ -2,24 +2,6 @@
2# include <config.h> 2# include <config.h>
3#endif 3#endif
4 4
5#undef alloca
6#ifdef HAVE_ALLOCA_H
7# include <alloca.h>
8#elif defined __GNUC__
9# define alloca __builtin_alloca
10#elif defined _AIX
11# define alloca __alloca
12#elif defined _MSC_VER
13# include <malloc.h>
14# define alloca _alloca
15#else
16# include <stddef.h>
17# ifdef __cplusplus
18extern "C"
19# endif
20void *alloca (size_t);
21#endif
22
23#include <stdio.h> 5#include <stdio.h>
24#include <stdlib.h> 6#include <stdlib.h>
25#include <sys/types.h> 7#include <sys/types.h>
diff --git a/legacy/ecore/src/lib/ecore_evas/ecore_evas_wayland_egl.c b/legacy/ecore/src/lib/ecore_evas/ecore_evas_wayland_egl.c
index e2a27816f4..430da4b8cb 100644
--- a/legacy/ecore/src/lib/ecore_evas/ecore_evas_wayland_egl.c
+++ b/legacy/ecore/src/lib/ecore_evas/ecore_evas_wayland_egl.c
@@ -2,24 +2,6 @@
2# include "config.h" 2# include "config.h"
3#endif 3#endif
4 4
5#undef alloca
6#ifdef HAVE_ALLOCA_H
7# include <alloca.h>
8#elif defined __GNUC__
9# define alloca __builtin_alloca
10#elif defined _AIX
11# define alloca __alloca
12#elif defined _MSC_VER
13# include <malloc.h>
14# define alloca _alloca
15#else
16# include <stddef.h>
17# ifdef __cplusplus
18extern "C"
19# endif
20void *alloca (size_t);
21#endif
22
23//#define LOGFNS 1 5//#define LOGFNS 1
24 6
25#ifdef LOGFNS 7#ifdef LOGFNS
diff --git a/legacy/ecore/src/lib/ecore_evas/ecore_evas_wayland_shm.c b/legacy/ecore/src/lib/ecore_evas/ecore_evas_wayland_shm.c
index c6e8ec3ffe..f587e3da5c 100644
--- a/legacy/ecore/src/lib/ecore_evas/ecore_evas_wayland_shm.c
+++ b/legacy/ecore/src/lib/ecore_evas/ecore_evas_wayland_shm.c
@@ -2,24 +2,6 @@
2# include "config.h" 2# include "config.h"
3#endif 3#endif
4 4
5#undef alloca
6#ifdef HAVE_ALLOCA_H
7# include <alloca.h>
8#elif defined __GNUC__
9# define alloca __builtin_alloca
10#elif defined _AIX
11# define alloca __alloca
12#elif defined _MSC_VER
13# include <malloc.h>
14# define alloca _alloca
15#else
16# include <stddef.h>
17# ifdef __cplusplus
18extern "C"
19# endif
20void *alloca (size_t);
21#endif
22
23//#define LOGFNS 1 5//#define LOGFNS 1
24 6
25#ifdef LOGFNS 7#ifdef LOGFNS
diff --git a/legacy/ecore/src/lib/ecore_fb/ecore_fb_vt.c b/legacy/ecore/src/lib/ecore_fb/ecore_fb_vt.c
index 2cfe55b0c1..09e3f37c1b 100644
--- a/legacy/ecore/src/lib/ecore_fb/ecore_fb_vt.c
+++ b/legacy/ecore/src/lib/ecore_fb/ecore_fb_vt.c
@@ -2,24 +2,6 @@
2# include <config.h> 2# include <config.h>
3#endif 3#endif
4 4
5#undef alloca
6#ifdef HAVE_ALLOCA_H
7# include <alloca.h>
8#elif defined __GNUC__
9# define alloca __builtin_alloca
10#elif defined _AIX
11# define alloca __alloca
12#elif defined _MSC_VER
13# include <malloc.h>
14# define alloca _alloca
15#else
16# include <stddef.h>
17# ifdef __cplusplus
18extern "C"
19# endif
20void *alloca (size_t);
21#endif
22
23#include "Ecore_Fb.h" 5#include "Ecore_Fb.h"
24#include "ecore_fb_private.h" 6#include "ecore_fb_private.h"
25 7
diff --git a/legacy/ecore/src/lib/ecore_file/ecore_file.c b/legacy/ecore/src/lib/ecore_file/ecore_file.c
index b276e33580..6876511fc6 100644
--- a/legacy/ecore/src/lib/ecore_file/ecore_file.c
+++ b/legacy/ecore/src/lib/ecore_file/ecore_file.c
@@ -2,24 +2,6 @@
2# include <config.h> 2# include <config.h>
3#endif 3#endif
4 4
5#undef alloca
6#ifdef HAVE_ALLOCA_H
7# include <alloca.h>
8#elif defined __GNUC__
9# define alloca __builtin_alloca
10#elif defined _AIX
11# define alloca __alloca
12#elif defined _MSC_VER
13# include <malloc.h>
14# define alloca _alloca
15#else
16# include <stddef.h>
17# ifdef __cplusplus
18extern "C"
19# endif
20void *alloca (size_t);
21#endif
22
23#include <stdlib.h> 5#include <stdlib.h>
24#include <stdio.h> 6#include <stdio.h>
25#include <string.h> 7#include <string.h>
diff --git a/legacy/ecore/src/lib/ecore_file/ecore_file_monitor.c b/legacy/ecore/src/lib/ecore_file/ecore_file_monitor.c
index ee0d8821ad..8b07589a9e 100644
--- a/legacy/ecore/src/lib/ecore_file/ecore_file_monitor.c
+++ b/legacy/ecore/src/lib/ecore_file/ecore_file_monitor.c
@@ -2,24 +2,6 @@
2# include <config.h> 2# include <config.h>
3#endif 3#endif
4 4
5#undef alloca
6#ifdef HAVE_ALLOCA_H
7# include <alloca.h>
8#elif defined __GNUC__
9# define alloca __builtin_alloca
10#elif defined _AIX
11# define alloca __alloca
12#elif defined _MSC_VER
13# include <malloc.h>
14# define alloca _alloca
15#else
16# include <stddef.h>
17# ifdef __cplusplus
18extern "C"
19# endif
20void *alloca (size_t);
21#endif
22
23#include "ecore_file_private.h" 5#include "ecore_file_private.h"
24 6
25typedef enum { 7typedef enum {
diff --git a/legacy/ecore/src/lib/ecore_imf/ecore_imf_context.c b/legacy/ecore/src/lib/ecore_imf/ecore_imf_context.c
index cd8ef81c34..d9aeca9836 100644
--- a/legacy/ecore/src/lib/ecore_imf/ecore_imf_context.c
+++ b/legacy/ecore/src/lib/ecore_imf/ecore_imf_context.c
@@ -2,24 +2,6 @@
2# include <config.h> 2# include <config.h>
3#endif 3#endif
4 4
5#undef alloca
6#ifdef HAVE_ALLOCA_H
7# include <alloca.h>
8#elif defined __GNUC__
9# define alloca __builtin_alloca
10#elif defined _AIX
11# define alloca __alloca
12#elif defined _MSC_VER
13# include <malloc.h>
14# define alloca _alloca
15#else
16# include <stddef.h>
17# ifdef __cplusplus
18extern "C"
19# endif
20void *alloca (size_t);
21#endif
22
23#include <stdlib.h> 5#include <stdlib.h>
24#include <string.h> 6#include <string.h>
25#include <locale.h> 7#include <locale.h>
diff --git a/legacy/ecore/src/lib/ecore_ipc/ecore_ipc.c b/legacy/ecore/src/lib/ecore_ipc/ecore_ipc.c
index b62295b989..0480001aa5 100644
--- a/legacy/ecore/src/lib/ecore_ipc/ecore_ipc.c
+++ b/legacy/ecore/src/lib/ecore_ipc/ecore_ipc.c
@@ -2,24 +2,6 @@
2# include <config.h> 2# include <config.h>
3#endif 3#endif
4 4
5#undef alloca
6#ifdef HAVE_ALLOCA_H
7# include <alloca.h>
8#elif defined __GNUC__
9# define alloca __builtin_alloca
10#elif defined _AIX
11# define alloca __alloca
12#elif defined _MSC_VER
13# include <malloc.h>
14# define alloca _alloca
15#else
16# include <stddef.h>
17# ifdef __cplusplus
18extern "C"
19# endif
20void *alloca (size_t);
21#endif
22
23#include <string.h> 5#include <string.h>
24 6
25#ifdef HAVE_NETINET_IN_H 7#ifdef HAVE_NETINET_IN_H
diff --git a/legacy/ecore/src/lib/ecore_wayland/ecore_wl.c b/legacy/ecore/src/lib/ecore_wayland/ecore_wl.c
index 44196853fa..8abfc74bfa 100644
--- a/legacy/ecore/src/lib/ecore_wayland/ecore_wl.c
+++ b/legacy/ecore/src/lib/ecore_wayland/ecore_wl.c
@@ -2,24 +2,6 @@
2# include <config.h> 2# include <config.h>
3#endif 3#endif
4 4
5#undef alloca
6#ifdef HAVE_ALLOCA_H
7# include <alloca.h>
8#elif defined __GNUC__
9# define alloca __builtin_alloca
10#elif defined _AIX
11# define alloca __alloca
12#elif defined _MSC_VER
13# include <malloc.h>
14# define alloca _alloca
15#else
16# include <stddef.h>
17# ifdef __cplusplus
18extern "C"
19# endif
20void *alloca (size_t);
21#endif
22
23#include <fcntl.h> 5#include <fcntl.h>
24#include "ecore_wl_private.h" 6#include "ecore_wl_private.h"
25 7
diff --git a/legacy/ecore/src/lib/ecore_wayland/ecore_wl_output.c b/legacy/ecore/src/lib/ecore_wayland/ecore_wl_output.c
index d8db6e4ad8..c30086d053 100644
--- a/legacy/ecore/src/lib/ecore_wayland/ecore_wl_output.c
+++ b/legacy/ecore/src/lib/ecore_wayland/ecore_wl_output.c
@@ -2,24 +2,6 @@
2# include <config.h> 2# include <config.h>
3#endif 3#endif
4 4
5#undef alloca
6#ifdef HAVE_ALLOCA_H
7# include <alloca.h>
8#elif defined __GNUC__
9# define alloca __builtin_alloca
10#elif defined _AIX
11# define alloca __alloca
12#elif defined _MSC_VER
13# include <malloc.h>
14# define alloca _alloca
15#else
16# include <stddef.h>
17# ifdef __cplusplus
18extern "C"
19# endif
20void *alloca (size_t);
21#endif
22
23#include "ecore_wl_private.h" 5#include "ecore_wl_private.h"
24 6
25/* local function prototypes */ 7/* local function prototypes */
diff --git a/legacy/ecore/src/lib/ecore_wayland/ecore_wl_window.c b/legacy/ecore/src/lib/ecore_wayland/ecore_wl_window.c
index 1138b32116..80b443b4ca 100644
--- a/legacy/ecore/src/lib/ecore_wayland/ecore_wl_window.c
+++ b/legacy/ecore/src/lib/ecore_wayland/ecore_wl_window.c
@@ -2,24 +2,6 @@
2# include <config.h> 2# include <config.h>
3#endif 3#endif
4 4
5#undef alloca
6#ifdef HAVE_ALLOCA_H
7# include <alloca.h>
8#elif defined __GNUC__
9# define alloca __builtin_alloca
10#elif defined _AIX
11# define alloca __alloca
12#elif defined _MSC_VER
13# include <malloc.h>
14# define alloca _alloca
15#else
16# include <stddef.h>
17# ifdef __cplusplus
18extern "C"
19# endif
20void *alloca (size_t);
21#endif
22
23#include "ecore_wl_private.h" 5#include "ecore_wl_private.h"
24 6
25/* local function prototypes */ 7/* local function prototypes */
diff --git a/legacy/ecore/src/lib/ecore_win32/ecore_win32_window.c b/legacy/ecore/src/lib/ecore_win32/ecore_win32_window.c
index c6fa105223..36f8a86047 100644
--- a/legacy/ecore/src/lib/ecore_win32/ecore_win32_window.c
+++ b/legacy/ecore/src/lib/ecore_win32/ecore_win32_window.c
@@ -2,24 +2,6 @@
2# include <config.h> 2# include <config.h>
3#endif 3#endif
4 4
5#undef alloca
6#ifdef HAVE_ALLOCA_H
7# include <alloca.h>
8#elif defined __GNUC__
9# define alloca __builtin_alloca
10#elif defined _AIX
11# define alloca __alloca
12#elif defined _MSC_VER
13# include <malloc.h>
14# define alloca _alloca
15#else
16# include <stddef.h>
17# ifdef __cplusplus
18extern "C"
19# endif
20void *alloca (size_t);
21#endif
22
23#include <stdlib.h> 5#include <stdlib.h>
24#include <stdio.h> /* for printf */ 6#include <stdio.h> /* for printf */
25 7
diff --git a/legacy/ecore/src/lib/ecore_wince/ecore_wince_window.c b/legacy/ecore/src/lib/ecore_wince/ecore_wince_window.c
index 4f493da8c3..49a6312da3 100644
--- a/legacy/ecore/src/lib/ecore_wince/ecore_wince_window.c
+++ b/legacy/ecore/src/lib/ecore_wince/ecore_wince_window.c
@@ -2,24 +2,6 @@
2# include <config.h> 2# include <config.h>
3#endif 3#endif
4 4
5#undef alloca
6#ifdef HAVE_ALLOCA_H
7# include <alloca.h>
8#elif defined __GNUC__
9# define alloca __builtin_alloca
10#elif defined _AIX
11# define alloca __alloca
12#elif defined _MSC_VER
13# include <malloc.h>
14# define alloca _alloca
15#else
16# include <stddef.h>
17# ifdef __cplusplus
18extern "C"
19# endif
20void *alloca (size_t);
21#endif
22
23#define WIN32_LEAN_AND_MEAN 5#define WIN32_LEAN_AND_MEAN
24#include <windows.h> 6#include <windows.h>
25#undef WIN32_LEAN_AND_MEAN 7#undef WIN32_LEAN_AND_MEAN
diff --git a/legacy/ecore/src/lib/ecore_x/xcb/ecore_xcb_e.c b/legacy/ecore/src/lib/ecore_x/xcb/ecore_xcb_e.c
index b13e566abb..82d94b634f 100644
--- a/legacy/ecore/src/lib/ecore_x/xcb/ecore_xcb_e.c
+++ b/legacy/ecore/src/lib/ecore_x/xcb/ecore_xcb_e.c
@@ -1,25 +1,3 @@
1#ifdef HAVE_CONFIG_H
2# include <config.h>
3#endif
4
5#undef alloca
6#ifdef HAVE_ALLOCA_H
7# include <alloca.h>
8#elif defined __GNUC__
9# define alloca __builtin_alloca
10#elif defined _AIX
11# define alloca __alloca
12#elif defined _MSC_VER
13# include <malloc.h>
14# define alloca _alloca
15#else
16# include <stddef.h>
17# ifdef __cplusplus
18extern "C"
19# endif
20void *alloca (size_t);
21#endif
22
23#include "ecore_xcb_private.h" 1#include "ecore_xcb_private.h"
24 2
25/* local function prototypes */ 3/* local function prototypes */
diff --git a/legacy/ecore/src/lib/ecore_x/xcb/ecore_xcb_image.c b/legacy/ecore/src/lib/ecore_x/xcb/ecore_xcb_image.c
index 92c8c9c2f2..8e221101b0 100644
--- a/legacy/ecore/src/lib/ecore_x/xcb/ecore_xcb_image.c
+++ b/legacy/ecore/src/lib/ecore_x/xcb/ecore_xcb_image.c
@@ -1,25 +1,3 @@
1#ifdef HAVE_CONFIG_H
2# include <config.h>
3#endif
4
5#undef alloca
6#ifdef HAVE_ALLOCA_H
7# include <alloca.h>
8#elif defined __GNUC__
9# define alloca __builtin_alloca
10#elif defined _AIX
11# define alloca __alloca
12#elif defined _MSC_VER
13# include <malloc.h>
14# define alloca _alloca
15#else
16# include <stddef.h>
17# ifdef __cplusplus
18extern "C"
19# endif
20void *alloca (size_t);
21#endif
22
23#include "ecore_xcb_private.h" 1#include "ecore_xcb_private.h"
24#include <sys/ipc.h> 2#include <sys/ipc.h>
25#include <sys/shm.h> 3#include <sys/shm.h>
diff --git a/legacy/ecore/src/lib/ecore_x/xcb/ecore_xcb_selection.c b/legacy/ecore/src/lib/ecore_x/xcb/ecore_xcb_selection.c
index be4a37e1cc..288d776b2f 100644
--- a/legacy/ecore/src/lib/ecore_x/xcb/ecore_xcb_selection.c
+++ b/legacy/ecore/src/lib/ecore_x/xcb/ecore_xcb_selection.c
@@ -1,25 +1,3 @@
1#ifdef HAVE_CONFIG_H
2# include <config.h>
3#endif
4
5#undef alloca
6#ifdef HAVE_ALLOCA_H
7# include <alloca.h>
8#elif defined __GNUC__
9# define alloca __builtin_alloca
10#elif defined _AIX
11# define alloca __alloca
12#elif defined _MSC_VER
13# include <malloc.h>
14# define alloca _alloca
15#else
16# include <stddef.h>
17# ifdef __cplusplus
18extern "C"
19# endif
20void *alloca (size_t);
21#endif
22
23#include "ecore_xcb_private.h" 1#include "ecore_xcb_private.h"
24//#include "Ecore_X_Atoms.h" 2//#include "Ecore_X_Atoms.h"
25 3
diff --git a/legacy/ecore/src/lib/ecore_x/xcb/ecore_xcb_window.c b/legacy/ecore/src/lib/ecore_x/xcb/ecore_xcb_window.c
index 2b17c61f24..ba18b503b9 100644
--- a/legacy/ecore/src/lib/ecore_x/xcb/ecore_xcb_window.c
+++ b/legacy/ecore/src/lib/ecore_x/xcb/ecore_xcb_window.c
@@ -1,25 +1,3 @@
1#ifdef HAVE_CONFIG_H
2# include <config.h>
3#endif
4
5#undef alloca
6#ifdef HAVE_ALLOCA_H
7# include <alloca.h>
8#elif defined __GNUC__
9# define alloca __builtin_alloca
10#elif defined _AIX
11# define alloca __alloca
12#elif defined _MSC_VER
13# include <malloc.h>
14# define alloca _alloca
15#else
16# include <stddef.h>
17# ifdef __cplusplus
18extern "C"
19# endif
20void *alloca (size_t);
21#endif
22
23#include "ecore_xcb_private.h" 1#include "ecore_xcb_private.h"
24#ifdef ECORE_XCB_RENDER 2#ifdef ECORE_XCB_RENDER
25# include <xcb/render.h> 3# include <xcb/render.h>
diff --git a/legacy/ecore/src/lib/ecore_x/xlib/ecore_x.c b/legacy/ecore/src/lib/ecore_x/xlib/ecore_x.c
index 1d92f7d97e..7cb777d0cd 100644
--- a/legacy/ecore/src/lib/ecore_x/xlib/ecore_x.c
+++ b/legacy/ecore/src/lib/ecore_x/xlib/ecore_x.c
@@ -2,24 +2,6 @@
2# include <config.h> 2# include <config.h>
3#endif /* ifdef HAVE_CONFIG_H */ 3#endif /* ifdef HAVE_CONFIG_H */
4 4
5#undef alloca
6#ifdef HAVE_ALLOCA_H
7# include <alloca.h>
8#elif defined __GNUC__
9# define alloca __builtin_alloca
10#elif defined _AIX
11# define alloca __alloca
12#elif defined _MSC_VER
13# include <malloc.h>
14# define alloca _alloca
15#else
16# include <stddef.h>
17# ifdef __cplusplus
18extern "C"
19# endif
20void *alloca (size_t);
21#endif
22
23#include <stdlib.h> 5#include <stdlib.h>
24#include <string.h> 6#include <string.h>
25#include <unistd.h> 7#include <unistd.h>
diff --git a/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_atoms.c b/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_atoms.c
index b3d63b09cd..6518264e87 100644
--- a/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_atoms.c
+++ b/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_atoms.c
@@ -2,7 +2,6 @@
2# include <config.h> 2# include <config.h>
3#endif /* ifdef HAVE_CONFIG_H */ 3#endif /* ifdef HAVE_CONFIG_H */
4 4
5#undef alloca
6#ifdef HAVE_ALLOCA_H 5#ifdef HAVE_ALLOCA_H
7# include <alloca.h> 6# include <alloca.h>
8#elif defined __GNUC__ 7#elif defined __GNUC__
diff --git a/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_e.c b/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_e.c
index 157bfe2fdc..ea17e64e01 100644
--- a/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_e.c
+++ b/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_e.c
@@ -6,24 +6,6 @@
6# include <config.h> 6# include <config.h>
7#endif /* ifdef HAVE_CONFIG_H */ 7#endif /* ifdef HAVE_CONFIG_H */
8 8
9#undef alloca
10#ifdef HAVE_ALLOCA_H
11# include <alloca.h>
12#elif defined __GNUC__
13# define alloca __builtin_alloca
14#elif defined _AIX
15# define alloca __alloca
16#elif defined _MSC_VER
17# include <malloc.h>
18# define alloca _alloca
19#else
20# include <stddef.h>
21# ifdef __cplusplus
22extern "C"
23# endif
24void *alloca (size_t);
25#endif
26
27#include "Ecore.h" 9#include "Ecore.h"
28#include "ecore_x_private.h" 10#include "ecore_x_private.h"
29#include "Ecore_X.h" 11#include "Ecore_X.h"
diff --git a/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_image.c b/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_image.c
index a1b0bf5ae8..71a933cc52 100644
--- a/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_image.c
+++ b/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_image.c
@@ -2,24 +2,6 @@
2# include <config.h> 2# include <config.h>
3#endif 3#endif
4 4
5#undef alloca
6#ifdef HAVE_ALLOCA_H
7# include <alloca.h>
8#elif defined __GNUC__
9# define alloca __builtin_alloca
10#elif defined _AIX
11# define alloca __alloca
12#elif defined _MSC_VER
13# include <malloc.h>
14# define alloca _alloca
15#else
16# include <stddef.h>
17# ifdef __cplusplus
18extern "C"
19# endif
20void *alloca (size_t);
21#endif
22
23#include <stdlib.h> 5#include <stdlib.h>
24#include <string.h> 6#include <string.h>
25#include <sys/ipc.h> 7#include <sys/ipc.h>
diff --git a/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_randr_12.c b/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_randr_12.c
index b6373f9725..97f1d0cc73 100644
--- a/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_randr_12.c
+++ b/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_randr_12.c
@@ -6,24 +6,6 @@
6# include <config.h> 6# include <config.h>
7#endif 7#endif
8 8
9#undef alloca
10#ifdef HAVE_ALLOCA_H
11# include <alloca.h>
12#elif defined __GNUC__
13# define alloca __builtin_alloca
14#elif defined _AIX
15# define alloca __alloca
16#elif defined _MSC_VER
17# include <malloc.h>
18# define alloca _alloca
19#else
20# include <stddef.h>
21# ifdef __cplusplus
22extern "C"
23# endif
24void *alloca (size_t);
25#endif
26
27#include "ecore_x_private.h" 9#include "ecore_x_private.h"
28#include "ecore_x_randr.h" 10#include "ecore_x_randr.h"
29#include <stdio.h> 11#include <stdio.h>
diff --git a/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_selection.c b/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_selection.c
index 997b2bf246..476621a289 100644
--- a/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_selection.c
+++ b/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_selection.c
@@ -2,24 +2,6 @@
2# include <config.h> 2# include <config.h>
3#endif /* ifdef HAVE_CONFIG_H */ 3#endif /* ifdef HAVE_CONFIG_H */
4 4
5#undef alloca
6#ifdef HAVE_ALLOCA_H
7# include <alloca.h>
8#elif defined __GNUC__
9# define alloca __builtin_alloca
10#elif defined _AIX
11# define alloca __alloca
12#elif defined _MSC_VER
13# include <malloc.h>
14# define alloca _alloca
15#else
16# include <stddef.h>
17# ifdef __cplusplus
18extern "C"
19# endif
20void *alloca (size_t);
21#endif
22
23#include <stdlib.h> 5#include <stdlib.h>
24#include <string.h> 6#include <string.h>
25 7
diff --git a/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_window_prop.c b/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_window_prop.c
index bfd8497871..a5824532fb 100644
--- a/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_window_prop.c
+++ b/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_window_prop.c
@@ -2,24 +2,6 @@
2# include <config.h> 2# include <config.h>
3#endif /* ifdef HAVE_CONFIG_H */ 3#endif /* ifdef HAVE_CONFIG_H */
4 4
5#undef alloca
6#ifdef HAVE_ALLOCA_H
7# include <alloca.h>
8#elif defined __GNUC__
9# define alloca __builtin_alloca
10#elif defined _AIX
11# define alloca __alloca
12#elif defined _MSC_VER
13# include <malloc.h>
14# define alloca _alloca
15#else
16# include <stddef.h>
17# ifdef __cplusplus
18extern "C"
19# endif
20void *alloca (size_t);
21#endif
22
23#include <stdlib.h> 5#include <stdlib.h>
24#include <string.h> 6#include <string.h>
25 7