summaryrefslogtreecommitdiff
path: root/legacy/ecore/src
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--legacy/ecore/src/lib/ecore/Ecore_Getopt.h2
-rw-r--r--legacy/ecore/src/lib/ecore/Makefile.am8
-rw-r--r--legacy/ecore/src/lib/ecore/ecore.c18
-rw-r--r--legacy/ecore/src/lib/ecore/ecore_anim.c10
-rw-r--r--legacy/ecore/src/lib/ecore/ecore_app.c7
-rw-r--r--legacy/ecore/src/lib/ecore/ecore_events.c10
-rw-r--r--legacy/ecore/src/lib/ecore/ecore_exe.c18
-rw-r--r--legacy/ecore/src/lib/ecore/ecore_getopt.c39
-rw-r--r--legacy/ecore/src/lib/ecore/ecore_hash.c23
-rw-r--r--legacy/ecore/src/lib/ecore/ecore_idle_enterer.c10
-rw-r--r--legacy/ecore/src/lib/ecore/ecore_idle_exiter.c10
-rw-r--r--legacy/ecore/src/lib/ecore/ecore_idler.c10
-rw-r--r--legacy/ecore/src/lib/ecore/ecore_list.c11
-rw-r--r--legacy/ecore/src/lib/ecore/ecore_main.c2
-rw-r--r--legacy/ecore/src/lib/ecore/ecore_path.c7
-rw-r--r--legacy/ecore/src/lib/ecore/ecore_pipe.c1
-rw-r--r--legacy/ecore/src/lib/ecore/ecore_plugin.c10
-rw-r--r--legacy/ecore/src/lib/ecore/ecore_poll.c10
-rw-r--r--legacy/ecore/src/lib/ecore/ecore_private.h22
-rw-r--r--legacy/ecore/src/lib/ecore/ecore_sheap.c11
-rw-r--r--legacy/ecore/src/lib/ecore/ecore_signal.c11
-rw-r--r--legacy/ecore/src/lib/ecore/ecore_str.c12
-rw-r--r--legacy/ecore/src/lib/ecore/ecore_strbuf.c10
-rw-r--r--legacy/ecore/src/lib/ecore/ecore_time.c2
-rw-r--r--legacy/ecore/src/lib/ecore/ecore_timer.c11
-rw-r--r--legacy/ecore/src/lib/ecore/ecore_tree.c10
-rw-r--r--legacy/ecore/src/lib/ecore/ecore_value.c17
-rw-r--r--legacy/ecore/src/lib/ecore_con/Ecore_Con.h17
-rw-r--r--legacy/ecore/src/lib/ecore_con/ecore_con.c8
-rw-r--r--legacy/ecore/src/lib/ecore_con/ecore_con_dns.c13
-rw-r--r--legacy/ecore/src/lib/ecore_con/ecore_con_info.c13
-rw-r--r--legacy/ecore/src/lib/ecore_con/ecore_con_ssl.c6
-rw-r--r--legacy/ecore/src/lib/ecore_con/ecore_con_url.c16
-rw-r--r--legacy/ecore/src/lib/ecore_config/ecore_config.c9
-rw-r--r--legacy/ecore/src/lib/ecore_config/ecore_config_db.c11
-rw-r--r--legacy/ecore/src/lib/ecore_config/ecore_config_extra.c10
-rw-r--r--legacy/ecore/src/lib/ecore_config/ecore_config_ipc_ecore.c9
-rw-r--r--legacy/ecore/src/lib/ecore_config/ecore_config_ipc_main.c9
-rw-r--r--legacy/ecore/src/lib/ecore_config/ecore_config_storage.c8
-rw-r--r--legacy/ecore/src/lib/ecore_config/ecore_config_util.c9
-rw-r--r--legacy/ecore/src/lib/ecore_directfb/Ecore_DirectFB.h6
-rw-r--r--legacy/ecore/src/lib/ecore_directfb/ecore_directfb.c15
-rw-r--r--legacy/ecore/src/lib/ecore_evas/ecore_evas.c6
-rw-r--r--legacy/ecore/src/lib/ecore_evas/ecore_evas_directfb.c11
-rw-r--r--legacy/ecore/src/lib/ecore_evas/ecore_evas_fb.c9
-rw-r--r--legacy/ecore/src/lib/ecore_evas/ecore_evas_quartz.c9
-rw-r--r--legacy/ecore/src/lib/ecore_evas/ecore_evas_sdl.c9
-rw-r--r--legacy/ecore/src/lib/ecore_evas/ecore_evas_util.c6
-rw-r--r--legacy/ecore/src/lib/ecore_evas/ecore_evas_x.c2
-rw-r--r--legacy/ecore/src/lib/ecore_fb/ecore_fb.c8
-rw-r--r--legacy/ecore/src/lib/ecore_fb/ecore_fb_li.c8
-rw-r--r--legacy/ecore/src/lib/ecore_fb/ecore_fb_private.h1
-rw-r--r--legacy/ecore/src/lib/ecore_fb/ecore_fb_ts.c18
-rw-r--r--legacy/ecore/src/lib/ecore_fb/ecore_fb_vt.c8
-rw-r--r--legacy/ecore/src/lib/ecore_file/ecore_file.c7
-rw-r--r--legacy/ecore/src/lib/ecore_file/ecore_file_download.c3
-rw-r--r--legacy/ecore/src/lib/ecore_file/ecore_file_monitor_inotify.c3
-rw-r--r--legacy/ecore/src/lib/ecore_file/ecore_file_monitor_poll.c3
-rw-r--r--legacy/ecore/src/lib/ecore_file/ecore_file_path.c3
-rw-r--r--legacy/ecore/src/lib/ecore_imf/Ecore_IMF.h4
-rw-r--r--legacy/ecore/src/lib/ecore_imf/ecore_imf.c8
-rw-r--r--legacy/ecore/src/lib/ecore_imf/ecore_imf_context.c11
-rw-r--r--legacy/ecore/src/lib/ecore_imf/ecore_imf_module.c9
-rw-r--r--legacy/ecore/src/lib/ecore_ipc/Ecore_Ipc.h7
-rw-r--r--legacy/ecore/src/lib/ecore_ipc/ecore_ipc.c10
-rw-r--r--legacy/ecore/src/lib/ecore_job/ecore_job.c5
-rw-r--r--legacy/ecore/src/lib/ecore_sdl/ecore_sdl.c8
-rw-r--r--legacy/ecore/src/lib/ecore_txt/ecore_txt.c9
-rw-r--r--legacy/ecore/src/lib/ecore_x/xlib/ecore_x.c7
-rw-r--r--legacy/ecore/src/lib/ecore_x/xlib/ecore_x_atoms.c22
-rw-r--r--legacy/ecore/src/lib/ecore_x/xlib/ecore_x_composite.c5
-rw-r--r--legacy/ecore/src/lib/ecore_x/xlib/ecore_x_cursor.c10
-rw-r--r--legacy/ecore/src/lib/ecore_x/xlib/ecore_x_damage.c5
-rw-r--r--legacy/ecore/src/lib/ecore_x/xlib/ecore_x_dnd.c8
-rw-r--r--legacy/ecore/src/lib/ecore_x/xlib/ecore_x_dpms.c4
-rw-r--r--legacy/ecore/src/lib/ecore_x/xlib/ecore_x_drawable.c4
-rw-r--r--legacy/ecore/src/lib/ecore_x/xlib/ecore_x_e.c6
-rw-r--r--legacy/ecore/src/lib/ecore_x/xlib/ecore_x_error.c10
-rw-r--r--legacy/ecore/src/lib/ecore_x/xlib/ecore_x_events.c7
-rw-r--r--legacy/ecore/src/lib/ecore_x/xlib/ecore_x_fixes.c6
-rw-r--r--legacy/ecore/src/lib/ecore_x/xlib/ecore_x_gc.c8
-rw-r--r--legacy/ecore/src/lib/ecore_x/xlib/ecore_x_icccm.c10
-rw-r--r--legacy/ecore/src/lib/ecore_x/xlib/ecore_x_mwm.c13
-rw-r--r--legacy/ecore/src/lib/ecore_x/xlib/ecore_x_netwm.c6
-rw-r--r--legacy/ecore/src/lib/ecore_x/xlib/ecore_x_pixmap.c8
-rw-r--r--legacy/ecore/src/lib/ecore_x/xlib/ecore_x_private.h2
-rw-r--r--legacy/ecore/src/lib/ecore_x/xlib/ecore_x_randr.c6
-rw-r--r--legacy/ecore/src/lib/ecore_x/xlib/ecore_x_screensaver.c6
-rw-r--r--legacy/ecore/src/lib/ecore_x/xlib/ecore_x_selection.c7
-rw-r--r--legacy/ecore/src/lib/ecore_x/xlib/ecore_x_sync.c6
-rw-r--r--legacy/ecore/src/lib/ecore_x/xlib/ecore_x_test.c10
-rw-r--r--legacy/ecore/src/lib/ecore_x/xlib/ecore_x_window.c7
-rw-r--r--legacy/ecore/src/lib/ecore_x/xlib/ecore_x_window_prop.c7
-rw-r--r--legacy/ecore/src/lib/ecore_x/xlib/ecore_x_window_shape.c10
-rw-r--r--legacy/ecore/src/lib/ecore_x/xlib/ecore_x_xinerama.c6
95 files changed, 734 insertions, 128 deletions
diff --git a/legacy/ecore/src/lib/ecore/Ecore_Getopt.h b/legacy/ecore/src/lib/ecore/Ecore_Getopt.h
index a8b579dc8b..41834def63 100644
--- a/legacy/ecore/src/lib/ecore/Ecore_Getopt.h
+++ b/legacy/ecore/src/lib/ecore/Ecore_Getopt.h
@@ -1,8 +1,8 @@
1#ifndef _ECORE_GETOPT_H 1#ifndef _ECORE_GETOPT_H
2#define _ECORE_GETOPT_H 2#define _ECORE_GETOPT_H
3 3
4#include <Eina.h>
5#include <stdio.h> 4#include <stdio.h>
5#include <Eina.h>
6 6
7#ifdef EAPI 7#ifdef EAPI
8# undef EAPI 8# undef EAPI
diff --git a/legacy/ecore/src/lib/ecore/Makefile.am b/legacy/ecore/src/lib/ecore/Makefile.am
index 245098a3a9..c15863f4fc 100644
--- a/legacy/ecore/src/lib/ecore/Makefile.am
+++ b/legacy/ecore/src/lib/ecore/Makefile.am
@@ -12,10 +12,11 @@ Ecore_Getopt.h
12 12
13libecore_la_SOURCES = \ 13libecore_la_SOURCES = \
14ecore.c \ 14ecore.c \
15ecore_app.c \
16ecore_anim.c \ 15ecore_anim.c \
16ecore_app.c \
17ecore_events.c \ 17ecore_events.c \
18ecore_exe.c \ 18ecore_exe.c \
19ecore_getopt.c \
19ecore_hash.c \ 20ecore_hash.c \
20ecore_idle_enterer.c \ 21ecore_idle_enterer.c \
21ecore_idle_exiter.c \ 22ecore_idle_exiter.c \
@@ -25,6 +26,7 @@ ecore_main.c \
25ecore_path.c \ 26ecore_path.c \
26ecore_pipe.c \ 27ecore_pipe.c \
27ecore_plugin.c \ 28ecore_plugin.c \
29ecore_poll.c \
28ecore_sheap.c \ 30ecore_sheap.c \
29ecore_signal.c \ 31ecore_signal.c \
30ecore_str.c \ 32ecore_str.c \
@@ -32,9 +34,7 @@ ecore_strbuf.c \
32ecore_time.c \ 34ecore_time.c \
33ecore_timer.c \ 35ecore_timer.c \
34ecore_tree.c \ 36ecore_tree.c \
35ecore_value.c \ 37ecore_value.c
36ecore_poll.c \
37ecore_getopt.c
38 38
39libecore_la_LIBADD = @dlopen_libs@ @EINA_LIBS@ @EVIL_LIBS@ @WIN32_LIBS@ -lm 39libecore_la_LIBADD = @dlopen_libs@ @EINA_LIBS@ @EVIL_LIBS@ @WIN32_LIBS@ -lm
40libecore_la_LDFLAGS = -no-undefined @lt_enable_auto_import@ -version-info @version_info@ 40libecore_la_LDFLAGS = -no-undefined @lt_enable_auto_import@ -version-info @version_info@
diff --git a/legacy/ecore/src/lib/ecore/ecore.c b/legacy/ecore/src/lib/ecore/ecore.c
index e4e32446f4..2b5c476c34 100644
--- a/legacy/ecore/src/lib/ecore/ecore.c
+++ b/legacy/ecore/src/lib/ecore/ecore.c
@@ -1,7 +1,17 @@
1/*
2 * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
3 */
4
1#ifdef HAVE_CONFIG_H 5#ifdef HAVE_CONFIG_H
2# include <config.h> 6# include <config.h>
3#endif 7#endif
4 8
9#include <stdio.h>
10#include <sys/types.h>
11#include <sys/stat.h>
12#include <unistd.h>
13#include <fcntl.h>
14
5#ifdef HAVE_LOCALE_H 15#ifdef HAVE_LOCALE_H
6# include <locale.h> 16# include <locale.h>
7#endif 17#endif
@@ -10,14 +20,18 @@
10# include <langinfo.h> 20# include <langinfo.h>
11#endif 21#endif
12 22
13#include "Ecore.h" 23#ifdef HAVE_SYS_MMAN_H
14#include "ecore_private.h" 24# include <sys/mman.h>
25#endif
15 26
16#ifdef HAVE_EVIL 27#ifdef HAVE_EVIL
17# include <Evil.h> 28# include <Evil.h>
18#endif 29#endif
19#include <Eina.h> 30#include <Eina.h>
20 31
32#include "Ecore.h"
33#include "ecore_private.h"
34
21static const char *_ecore_magic_string_get(Ecore_Magic m); 35static const char *_ecore_magic_string_get(Ecore_Magic m);
22static int _ecore_init_count = 0; 36static int _ecore_init_count = 0;
23 37
diff --git a/legacy/ecore/src/lib/ecore/ecore_anim.c b/legacy/ecore/src/lib/ecore/ecore_anim.c
index d5d4e9e9ed..75d1c99ccb 100644
--- a/legacy/ecore/src/lib/ecore/ecore_anim.c
+++ b/legacy/ecore/src/lib/ecore/ecore_anim.c
@@ -1,3 +1,13 @@
1/*
2 * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
3 */
4
5#ifdef HAVE_CONFIG_H
6# include <config.h>
7#endif
8
9#include <stdlib.h>
10
1#include "ecore_private.h" 11#include "ecore_private.h"
2#include "Ecore.h" 12#include "Ecore.h"
3 13
diff --git a/legacy/ecore/src/lib/ecore/ecore_app.c b/legacy/ecore/src/lib/ecore/ecore_app.c
index 7858c76085..9801a35caa 100644
--- a/legacy/ecore/src/lib/ecore/ecore_app.c
+++ b/legacy/ecore/src/lib/ecore/ecore_app.c
@@ -1,7 +1,14 @@
1/*
2 * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
3 */
4
1#ifdef HAVE_CONFIG_H 5#ifdef HAVE_CONFIG_H
2# include <config.h> 6# include <config.h>
3#endif 7#endif
4 8
9#include <stdlib.h>
10#include <unistd.h>
11
5#ifdef HAVE_EVIL 12#ifdef HAVE_EVIL
6# include <Evil.h> 13# include <Evil.h>
7#endif 14#endif
diff --git a/legacy/ecore/src/lib/ecore/ecore_events.c b/legacy/ecore/src/lib/ecore/ecore_events.c
index 0035f6318f..a1955f815e 100644
--- a/legacy/ecore/src/lib/ecore/ecore_events.c
+++ b/legacy/ecore/src/lib/ecore/ecore_events.c
@@ -1,3 +1,13 @@
1/*
2 * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
3 */
4
5#ifdef HAVE_CONFIG_H
6# include <config.h>
7#endif
8
9#include <stdlib.h>
10
1#include "ecore_private.h" 11#include "ecore_private.h"
2#include "Ecore.h" 12#include "Ecore.h"
3 13
diff --git a/legacy/ecore/src/lib/ecore/ecore_exe.c b/legacy/ecore/src/lib/ecore/ecore_exe.c
index f95ab7b063..79b7533a31 100644
--- a/legacy/ecore/src/lib/ecore/ecore_exe.c
+++ b/legacy/ecore/src/lib/ecore/ecore_exe.c
@@ -1,7 +1,23 @@
1/*
2 * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
3 */
4
5#ifdef HAVE_CONFIG_H
6# include <config.h>
7#endif
8
9#include <stdlib.h>
10#include <stdio.h>
11#include <string.h>
1#include <errno.h> 12#include <errno.h>
13#include <sys/types.h>
14#include <unistd.h>
15#include <fcntl.h>
16
2#ifdef HAVE_SYS_WAIT_H 17#ifdef HAVE_SYS_WAIT_H
3# include <sys/wait.h> 18# include <sys/wait.h>
4#endif /* HAVE_SYS_WAIT_H */ 19#endif
20
5#include "ecore_private.h" 21#include "ecore_private.h"
6#include "Ecore.h" 22#include "Ecore.h"
7 23
diff --git a/legacy/ecore/src/lib/ecore/ecore_getopt.c b/legacy/ecore/src/lib/ecore/ecore_getopt.c
index 44c02979f6..fc897c81d6 100644
--- a/legacy/ecore/src/lib/ecore/ecore_getopt.c
+++ b/legacy/ecore/src/lib/ecore/ecore_getopt.c
@@ -1,3 +1,7 @@
1/*
2 * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
3 */
4
1#ifdef HAVE_CONFIG_H 5#ifdef HAVE_CONFIG_H
2# include <config.h> 6# include <config.h>
3#endif 7#endif
@@ -7,8 +11,7 @@
7#include <stdarg.h> 11#include <stdarg.h>
8#include <ctype.h> 12#include <ctype.h>
9 13
10#include <Ecore.h> 14#include "Ecore.h"
11
12#include "Ecore_Getopt.h" 15#include "Ecore_Getopt.h"
13 16
14static const char *prog = NULL; 17static const char *prog = NULL;
@@ -18,7 +21,7 @@ static int cols = 80;
18static int helpcol = 80 / 3; 21static int helpcol = 80 / 3;
19 22
20static void 23static void
21_ecore_getopt_help_print_replace_program(FILE *fp, const Ecore_Getopt *parser, const char *text) 24_ecore_getopt_help_print_replace_program(FILE *fp, const Ecore_Getopt *parser __UNUSED__, const char *text)
22{ 25{
23 do 26 do
24 { 27 {
@@ -321,7 +324,7 @@ _ecore_getopt_help_desc_store(FILE *fp, const int base, const int total, int use
321 const Ecore_Getopt_Desc_Store *store = &desc->action_param.store; 324 const Ecore_Getopt_Desc_Store *store = &desc->action_param.store;
322 char buf[64]; 325 char buf[64];
323 const char *str; 326 const char *str;
324 int len; 327 size_t len;
325 328
326 fputc('\n', fp); 329 fputc('\n', fp);
327 for (used = 0; used < base; used++) 330 for (used = 0; used < base; used++)
@@ -802,7 +805,7 @@ _ecore_getopt_parse_double(const char *str, double *v)
802} 805}
803 806
804static unsigned char 807static unsigned char
805_ecore_getopt_parse_store(const Ecore_Getopt *parser, const Ecore_Getopt_Desc *desc, Ecore_Getopt_Value *value, const char *arg_val) 808_ecore_getopt_parse_store(const Ecore_Getopt *parser __UNUSED__, const Ecore_Getopt_Desc *desc, Ecore_Getopt_Value *value, const char *arg_val)
806{ 809{
807 const Ecore_Getopt_Desc_Store *store = &desc->action_param.store; 810 const Ecore_Getopt_Desc_Store *store = &desc->action_param.store;
808 long int v; 811 long int v;
@@ -922,7 +925,7 @@ _ecore_getopt_parse_store(const Ecore_Getopt *parser, const Ecore_Getopt_Desc *d
922} 925}
923 926
924static unsigned char 927static unsigned char
925_ecore_getopt_parse_store_const(const Ecore_Getopt *parser, const Ecore_Getopt_Desc *desc, Ecore_Getopt_Value *val, const char *arg_val) 928_ecore_getopt_parse_store_const(const Ecore_Getopt *parser __UNUSED__, const Ecore_Getopt_Desc *desc, Ecore_Getopt_Value *val, const char *arg_val __UNUSED__)
926{ 929{
927 if (!val->ptrp) 930 if (!val->ptrp)
928 { 931 {
@@ -935,7 +938,7 @@ _ecore_getopt_parse_store_const(const Ecore_Getopt *parser, const Ecore_Getopt_D
935} 938}
936 939
937static unsigned char 940static unsigned char
938_ecore_getopt_parse_store_true(const Ecore_Getopt *parser, const Ecore_Getopt_Desc *desc, Ecore_Getopt_Value *val, const char *arg_val) 941_ecore_getopt_parse_store_true(const Ecore_Getopt *parser __UNUSED__, const Ecore_Getopt_Desc *desc, Ecore_Getopt_Value *val, const char *arg_val __UNUSED__)
939{ 942{
940 if (!val->boolp) 943 if (!val->boolp)
941 { 944 {
@@ -947,7 +950,7 @@ _ecore_getopt_parse_store_true(const Ecore_Getopt *parser, const Ecore_Getopt_De
947} 950}
948 951
949static unsigned char 952static unsigned char
950_ecore_getopt_parse_store_false(const Ecore_Getopt *parser, const Ecore_Getopt_Desc *desc, Ecore_Getopt_Value *val, const char *arg_val) 953_ecore_getopt_parse_store_false(const Ecore_Getopt *parser __UNUSED__, const Ecore_Getopt_Desc *desc, Ecore_Getopt_Value *val, const char *arg_val __UNUSED__)
951{ 954{
952 if (!val->boolp) 955 if (!val->boolp)
953 { 956 {
@@ -959,7 +962,7 @@ _ecore_getopt_parse_store_false(const Ecore_Getopt *parser, const Ecore_Getopt_D
959} 962}
960 963
961static unsigned char 964static unsigned char
962_ecore_getopt_parse_choice(const Ecore_Getopt *parser, const Ecore_Getopt_Desc *desc, Ecore_Getopt_Value *val, const char *arg_val) 965_ecore_getopt_parse_choice(const Ecore_Getopt *parser __UNUSED__, const Ecore_Getopt_Desc *desc, Ecore_Getopt_Value *val, const char *arg_val)
963{ 966{
964 const char * const *pchoice; 967 const char * const *pchoice;
965 968
@@ -993,7 +996,7 @@ _ecore_getopt_parse_choice(const Ecore_Getopt *parser, const Ecore_Getopt_Desc *
993} 996}
994 997
995static unsigned char 998static unsigned char
996_ecore_getopt_parse_append(const Ecore_Getopt *parser, const Ecore_Getopt_Desc *desc, Ecore_Getopt_Value *val, const char *arg_val) 999_ecore_getopt_parse_append(const Ecore_Getopt *parser __UNUSED__, const Ecore_Getopt_Desc *desc, Ecore_Getopt_Value *val, const char *arg_val)
997{ 1000{
998 void *data; 1001 void *data;
999 long int v; 1002 long int v;
@@ -1113,7 +1116,7 @@ _ecore_getopt_parse_append(const Ecore_Getopt *parser, const Ecore_Getopt_Desc *
1113} 1116}
1114 1117
1115static unsigned char 1118static unsigned char
1116_ecore_getopt_parse_count(const Ecore_Getopt *parser, const Ecore_Getopt_Desc *desc, Ecore_Getopt_Value *val, const char *arg_val) 1119_ecore_getopt_parse_count(const Ecore_Getopt *parser __UNUSED__, const Ecore_Getopt_Desc *desc, Ecore_Getopt_Value *val, const char *arg_val __UNUSED__)
1117{ 1120{
1118 if (!val->intp) 1121 if (!val->intp)
1119 { 1122 {
@@ -1169,7 +1172,7 @@ _ecore_getopt_parse_callback(const Ecore_Getopt *parser, const Ecore_Getopt_Desc
1169} 1172}
1170 1173
1171static unsigned char 1174static unsigned char
1172_ecore_getopt_parse_help(const Ecore_Getopt *parser, const Ecore_Getopt_Desc *desc, Ecore_Getopt_Value *val, const char *arg_val) 1175_ecore_getopt_parse_help(const Ecore_Getopt *parser, const Ecore_Getopt_Desc *desc __UNUSED__, Ecore_Getopt_Value *val, const char *arg_val __UNUSED__)
1173{ 1176{
1174 if (val->boolp) 1177 if (val->boolp)
1175 (*val->boolp) = 1; 1178 (*val->boolp) = 1;
@@ -1178,7 +1181,7 @@ _ecore_getopt_parse_help(const Ecore_Getopt *parser, const Ecore_Getopt_Desc *de
1178} 1181}
1179 1182
1180static unsigned char 1183static unsigned char
1181_ecore_getopt_parse_version(const Ecore_Getopt *parser, const Ecore_Getopt_Desc *desc, Ecore_Getopt_Value *val, const char *arg_val) 1184_ecore_getopt_parse_version(const Ecore_Getopt *parser, const Ecore_Getopt_Desc *desc, Ecore_Getopt_Value *val, const char *arg_val __UNUSED__)
1182{ 1185{
1183 if (val->boolp) 1186 if (val->boolp)
1184 (*val->boolp) = 1; 1187 (*val->boolp) = 1;
@@ -1192,7 +1195,7 @@ _ecore_getopt_parse_version(const Ecore_Getopt *parser, const Ecore_Getopt_Desc
1192} 1195}
1193 1196
1194static unsigned char 1197static unsigned char
1195_ecore_getopt_parse_copyright(const Ecore_Getopt *parser, const Ecore_Getopt_Desc *desc, Ecore_Getopt_Value *val, const char *arg_val) 1198_ecore_getopt_parse_copyright(const Ecore_Getopt *parser, const Ecore_Getopt_Desc *desc, Ecore_Getopt_Value *val, const char *arg_val __UNUSED__)
1196{ 1199{
1197 if (val->boolp) 1200 if (val->boolp)
1198 (*val->boolp) = 1; 1201 (*val->boolp) = 1;
@@ -1206,7 +1209,7 @@ _ecore_getopt_parse_copyright(const Ecore_Getopt *parser, const Ecore_Getopt_Des
1206} 1209}
1207 1210
1208static unsigned char 1211static unsigned char
1209_ecore_getopt_parse_license(const Ecore_Getopt *parser, const Ecore_Getopt_Desc *desc, Ecore_Getopt_Value *val, const char *arg_val) 1212_ecore_getopt_parse_license(const Ecore_Getopt *parser, const Ecore_Getopt_Desc *desc, Ecore_Getopt_Value *val, const char *arg_val __UNUSED__)
1210{ 1213{
1211 if (val->boolp) 1214 if (val->boolp)
1212 (*val->boolp) = 1; 1215 (*val->boolp) = 1;
@@ -1254,7 +1257,7 @@ _ecore_getopt_desc_handle(const Ecore_Getopt *parser, const Ecore_Getopt_Desc *d
1254} 1257}
1255 1258
1256static unsigned char 1259static unsigned char
1257_ecore_getopt_parse_arg_long(const Ecore_Getopt *parser, Ecore_Getopt_Value *values, int argc, char **argv, int *idx, int *nonargs, const char *arg) 1260_ecore_getopt_parse_arg_long(const Ecore_Getopt *parser, Ecore_Getopt_Value *values, int argc __UNUSED__, char **argv, int *idx, int *nonargs, const char *arg)
1258{ 1261{
1259 const Ecore_Getopt_Desc *desc; 1262 const Ecore_Getopt_Desc *desc;
1260 Ecore_Getopt_Desc_Arg_Requirement arg_req; 1263 Ecore_Getopt_Desc_Arg_Requirement arg_req;
@@ -1317,7 +1320,7 @@ _ecore_getopt_parse_arg_long(const Ecore_Getopt *parser, Ecore_Getopt_Value *val
1317} 1320}
1318 1321
1319static unsigned char 1322static unsigned char
1320_ecore_getopt_parse_arg_short(const Ecore_Getopt *parser, Ecore_Getopt_Value *values, int argc, char **argv, int *idx, int *nonargs, const char *arg) 1323_ecore_getopt_parse_arg_short(const Ecore_Getopt *parser, Ecore_Getopt_Value *values, int argc __UNUSED__, char **argv, int *idx, int *nonargs, const char *arg)
1321{ 1324{
1322 int run = 1; 1325 int run = 1;
1323 while (run && (arg[0] != '\0')) 1326 while (run && (arg[0] != '\0'))
@@ -1649,7 +1652,7 @@ ecore_getopt_list_free(Eina_List *list)
1649 * @c callback_data value is ignored, you can safely use @c NULL. 1652 * @c callback_data value is ignored, you can safely use @c NULL.
1650 */ 1653 */
1651unsigned char 1654unsigned char
1652ecore_getopt_callback_geometry_parse(const Ecore_Getopt *parser, const Ecore_Getopt_Desc *desc, const char *str, void *data, Ecore_Getopt_Value *storage) 1655ecore_getopt_callback_geometry_parse(const Ecore_Getopt *parser __UNUSED__, const Ecore_Getopt_Desc *desc __UNUSED__, const char *str, void *data __UNUSED__, Ecore_Getopt_Value *storage)
1653{ 1656{
1654 Eina_Rectangle *v = (Eina_Rectangle *)storage->ptrp; 1657 Eina_Rectangle *v = (Eina_Rectangle *)storage->ptrp;
1655 1658
diff --git a/legacy/ecore/src/lib/ecore/ecore_hash.c b/legacy/ecore/src/lib/ecore/ecore_hash.c
index b52c648cd7..90e0cbace7 100644
--- a/legacy/ecore/src/lib/ecore/ecore_hash.c
+++ b/legacy/ecore/src/lib/ecore/ecore_hash.c
@@ -1,3 +1,14 @@
1/*
2 * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
3 */
4
5#ifdef HAVE_CONFIG_H
6# include <config.h>
7#endif
8
9#include <stdio.h>
10#include <string.h>
11
1#include "ecore_private.h" 12#include "ecore_private.h"
2#include "Ecore.h" 13#include "Ecore.h"
3#include "Ecore_Data.h" 14#include "Ecore_Data.h"
@@ -413,7 +424,7 @@ _ecore_hash_bucket_destroy(Ecore_Hash_Node *list, Ecore_Free_Cb keyd, Ecore_Free
413static int 424static int
414_ecore_hash_node_add(Ecore_Hash *hash, Ecore_Hash_Node *node) 425_ecore_hash_node_add(Ecore_Hash *hash, Ecore_Hash_Node *node)
415{ 426{
416 unsigned int hash_val; 427 unsigned long hash_val;
417 428
418 CHECK_PARAM_POINTER_RETURN("hash", hash, FALSE); 429 CHECK_PARAM_POINTER_RETURN("hash", hash, FALSE);
419 CHECK_PARAM_POINTER_RETURN("node", node, FALSE); 430 CHECK_PARAM_POINTER_RETURN("node", node, FALSE);
@@ -424,7 +435,7 @@ _ecore_hash_node_add(Ecore_Hash *hash, Ecore_Hash_Node *node)
424 435
425 /* Compute the position in the table */ 436 /* Compute the position in the table */
426 if (!hash->hash_func) 437 if (!hash->hash_func)
427 hash_val = (unsigned int)node->key % ecore_prime_table[hash->size]; 438 hash_val = (unsigned long)node->key % ecore_prime_table[hash->size];
428 else 439 else
429 hash_val = ECORE_COMPUTE_HASH(hash, node->key); 440 hash_val = ECORE_COMPUTE_HASH(hash, node->key);
430 441
@@ -475,14 +486,14 @@ ecore_hash_remove(Ecore_Hash *hash, const void *key)
475{ 486{
476 Ecore_Hash_Node *node = NULL; 487 Ecore_Hash_Node *node = NULL;
477 Ecore_Hash_Node *list; 488 Ecore_Hash_Node *list;
478 unsigned int hash_val; 489 unsigned long hash_val;
479 void *ret = NULL; 490 void *ret = NULL;
480 491
481 CHECK_PARAM_POINTER_RETURN("hash", hash, NULL); 492 CHECK_PARAM_POINTER_RETURN("hash", hash, NULL);
482 493
483 /* Compute the position in the table */ 494 /* Compute the position in the table */
484 if (!hash->hash_func) 495 if (!hash->hash_func)
485 hash_val = (unsigned int )key % ecore_prime_table[hash->size]; 496 hash_val = (unsigned long )key % ecore_prime_table[hash->size];
486 else 497 else
487 hash_val = ECORE_COMPUTE_HASH(hash, key); 498 hash_val = ECORE_COMPUTE_HASH(hash, key);
488 499
@@ -580,7 +591,7 @@ ecore_hash_find(Ecore_Hash *hash, Ecore_Compare_Cb compare, const void *value)
580static Ecore_Hash_Node * 591static Ecore_Hash_Node *
581_ecore_hash_node_get(Ecore_Hash *hash, const void *key) 592_ecore_hash_node_get(Ecore_Hash *hash, const void *key)
582{ 593{
583 unsigned int hash_val; 594 unsigned long hash_val;
584 Ecore_Hash_Node *node = NULL; 595 Ecore_Hash_Node *node = NULL;
585 596
586 CHECK_PARAM_POINTER_RETURN("hash", hash, NULL); 597 CHECK_PARAM_POINTER_RETURN("hash", hash, NULL);
@@ -592,7 +603,7 @@ _ecore_hash_node_get(Ecore_Hash *hash, const void *key)
592 603
593 /* Compute the position in the table */ 604 /* Compute the position in the table */
594 if (!hash->hash_func) 605 if (!hash->hash_func)
595 hash_val = (unsigned int )key % ecore_prime_table[hash->size]; 606 hash_val = (unsigned long)key % ecore_prime_table[hash->size];
596 else 607 else
597 hash_val = ECORE_COMPUTE_HASH(hash, key); 608 hash_val = ECORE_COMPUTE_HASH(hash, key);
598 609
diff --git a/legacy/ecore/src/lib/ecore/ecore_idle_enterer.c b/legacy/ecore/src/lib/ecore/ecore_idle_enterer.c
index 309aea255c..bdbb371825 100644
--- a/legacy/ecore/src/lib/ecore/ecore_idle_enterer.c
+++ b/legacy/ecore/src/lib/ecore/ecore_idle_enterer.c
@@ -1,3 +1,13 @@
1/*
2 * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
3 */
4
5#ifdef HAVE_CONFIG_H
6# include <config.h>
7#endif
8
9#include <stdlib.h>
10
1#include "ecore_private.h" 11#include "ecore_private.h"
2#include "Ecore.h" 12#include "Ecore.h"
3 13
diff --git a/legacy/ecore/src/lib/ecore/ecore_idle_exiter.c b/legacy/ecore/src/lib/ecore/ecore_idle_exiter.c
index a0217811df..c9ff5722ac 100644
--- a/legacy/ecore/src/lib/ecore/ecore_idle_exiter.c
+++ b/legacy/ecore/src/lib/ecore/ecore_idle_exiter.c
@@ -1,3 +1,13 @@
1/*
2 * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
3 */
4
5#ifdef HAVE_CONFIG_H
6# include <config.h>
7#endif
8
9#include <stdlib.h>
10
1#include "ecore_private.h" 11#include "ecore_private.h"
2#include "Ecore.h" 12#include "Ecore.h"
3 13
diff --git a/legacy/ecore/src/lib/ecore/ecore_idler.c b/legacy/ecore/src/lib/ecore/ecore_idler.c
index ffad4705ad..48fc941372 100644
--- a/legacy/ecore/src/lib/ecore/ecore_idler.c
+++ b/legacy/ecore/src/lib/ecore/ecore_idler.c
@@ -1,3 +1,13 @@
1/*
2 * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
3 */
4
5#ifdef HAVE_CONFIG_H
6# include <config.h>
7#endif
8
9#include <stdlib.h>
10
1#include "ecore_private.h" 11#include "ecore_private.h"
2#include "Ecore.h" 12#include "Ecore.h"
3 13
diff --git a/legacy/ecore/src/lib/ecore/ecore_list.c b/legacy/ecore/src/lib/ecore/ecore_list.c
index 36ef5068ec..f129bf2471 100644
--- a/legacy/ecore/src/lib/ecore/ecore_list.c
+++ b/legacy/ecore/src/lib/ecore/ecore_list.c
@@ -1,3 +1,14 @@
1/*
2 * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
3 */
4
5#ifdef HAVE_CONFIG_H
6# include <config.h>
7#endif
8
9#include <stdlib.h>
10#include <string.h>
11
1#include "ecore_private.h" 12#include "ecore_private.h"
2#include "Ecore.h" 13#include "Ecore.h"
3#include "Ecore_Data.h" 14#include "Ecore_Data.h"
diff --git a/legacy/ecore/src/lib/ecore/ecore_main.c b/legacy/ecore/src/lib/ecore/ecore_main.c
index 6c74906481..6883d1f7e1 100644
--- a/legacy/ecore/src/lib/ecore/ecore_main.c
+++ b/legacy/ecore/src/lib/ecore/ecore_main.c
@@ -11,6 +11,8 @@
11# define USER_TIMER_MINIMUM 0x0a 11# define USER_TIMER_MINIMUM 0x0a
12#endif 12#endif
13 13
14#include <stdlib.h>
15#include <stdio.h>
14#include <math.h> 16#include <math.h>
15#include <sys/time.h> 17#include <sys/time.h>
16#include <sys/types.h> 18#include <sys/types.h>
diff --git a/legacy/ecore/src/lib/ecore/ecore_path.c b/legacy/ecore/src/lib/ecore/ecore_path.c
index 5ced49e5da..ea1431e091 100644
--- a/legacy/ecore/src/lib/ecore/ecore_path.c
+++ b/legacy/ecore/src/lib/ecore/ecore_path.c
@@ -6,6 +6,13 @@
6# include <config.h> 6# include <config.h>
7#endif 7#endif
8 8
9#include <stdio.h>
10#include <string.h>
11#include <sys/types.h>
12#include <sys/stat.h>
13#include <unistd.h>
14#include <dirent.h>
15
9#include "ecore_private.h" 16#include "ecore_private.h"
10#include "Ecore_Data.h" 17#include "Ecore_Data.h"
11#include "Ecore_Str.h" 18#include "Ecore_Str.h"
diff --git a/legacy/ecore/src/lib/ecore/ecore_pipe.c b/legacy/ecore/src/lib/ecore/ecore_pipe.c
index 4f435d2ffe..f6e4778f1a 100644
--- a/legacy/ecore/src/lib/ecore/ecore_pipe.c
+++ b/legacy/ecore/src/lib/ecore/ecore_pipe.c
@@ -7,6 +7,7 @@
7#endif 7#endif
8 8
9#include <stdlib.h> 9#include <stdlib.h>
10#include <stdio.h>
10#include <errno.h> 11#include <errno.h>
11 12
12#ifdef HAVE_EVIL 13#ifdef HAVE_EVIL
diff --git a/legacy/ecore/src/lib/ecore/ecore_plugin.c b/legacy/ecore/src/lib/ecore/ecore_plugin.c
index 7004a380ba..0162a27b68 100644
--- a/legacy/ecore/src/lib/ecore/ecore_plugin.c
+++ b/legacy/ecore/src/lib/ecore/ecore_plugin.c
@@ -8,13 +8,19 @@
8 8
9#include <stdlib.h> 9#include <stdlib.h>
10#include <stdio.h> 10#include <stdio.h>
11#include <string.h>
12#include <sys/types.h>
13#include <sys/stat.h>
14#include <unistd.h>
15#include <dirent.h>
16
11 17
12#ifdef HAVE_DLFCN_H 18#ifdef HAVE_DLFCN_H
13# include <dlfcn.h> 19# include <dlfcn.h>
14#endif 20#endif
15 21
16#ifdef HAVE_EVIL_H 22#ifdef HAVE_EVIL_H
17# include <evil.h> 23# include <Evil.h>
18#endif 24#endif
19 25
20#include "Ecore_Data.h" 26#include "Ecore_Data.h"
@@ -251,7 +257,7 @@ ecore_plugin_available_get(Ecore_Path_Group *group)
251} 257}
252 258
253static Eina_Bool 259static Eina_Bool
254_hash_keys(const Eina_Hash *hash, const char *key, void *list) 260_hash_keys(const Eina_Hash *hash __UNUSED__, const char *key, void *list)
255{ 261{
256 ecore_list_append(list, strdup(key)); 262 ecore_list_append(list, strdup(key));
257 return EINA_TRUE; 263 return EINA_TRUE;
diff --git a/legacy/ecore/src/lib/ecore/ecore_poll.c b/legacy/ecore/src/lib/ecore/ecore_poll.c
index bb4565372c..3143a9075c 100644
--- a/legacy/ecore/src/lib/ecore/ecore_poll.c
+++ b/legacy/ecore/src/lib/ecore/ecore_poll.c
@@ -1,3 +1,13 @@
1/*
2 * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
3 */
4
5#ifdef HAVE_CONFIG_H
6# include <config.h>
7#endif
8
9#include <stdlib.h>
10
1#include "ecore_private.h" 11#include "ecore_private.h"
2#include "Ecore.h" 12#include "Ecore.h"
3 13
diff --git a/legacy/ecore/src/lib/ecore/ecore_private.h b/legacy/ecore/src/lib/ecore/ecore_private.h
index 7610bade2d..0188d2722d 100644
--- a/legacy/ecore/src/lib/ecore/ecore_private.h
+++ b/legacy/ecore/src/lib/ecore/ecore_private.h
@@ -1,32 +1,12 @@
1#ifndef _ECORE_PRIVATE_H 1#ifndef _ECORE_PRIVATE_H
2#define _ECORE_PRIVATE_H 2#define _ECORE_PRIVATE_H
3 3
4#ifdef HAVE_CONFIG_H
5# include <config.h>
6#endif
7
8#include <stdio.h>
9#include <stdlib.h>
10#include <string.h>
11#include <sys/time.h>
12#include <sys/types.h> 4#include <sys/types.h>
13#include <unistd.h> 5#include <unistd.h>
6
14#ifdef HAVE_SIGNAL_H 7#ifdef HAVE_SIGNAL_H
15# include <signal.h> 8# include <signal.h>
16#endif 9#endif
17#include <sys/stat.h>
18#include <fcntl.h>
19#include <limits.h>
20#include <dirent.h>
21#ifdef HAVE_SYS_RESOURCE_H
22# include <sys/resource.h>
23#endif
24
25#include <eina_types.h>
26
27#ifdef HAVE_SYS_MMAN_H
28# include <sys/mman.h>
29#endif
30 10
31#ifdef EAPI 11#ifdef EAPI
32# undef EAPI 12# undef EAPI
diff --git a/legacy/ecore/src/lib/ecore/ecore_sheap.c b/legacy/ecore/src/lib/ecore/ecore_sheap.c
index 3e430a3fcf..31df8750a7 100644
--- a/legacy/ecore/src/lib/ecore/ecore_sheap.c
+++ b/legacy/ecore/src/lib/ecore/ecore_sheap.c
@@ -1,3 +1,14 @@
1/*
2 * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
3 */
4
5#ifdef HAVE_CONFIG_H
6# include <config.h>
7#endif
8
9#include <stdlib.h>
10#include <string.h>
11
1#include "ecore_private.h" 12#include "ecore_private.h"
2#include "Ecore.h" 13#include "Ecore.h"
3#include "Ecore_Data.h" 14#include "Ecore_Data.h"
diff --git a/legacy/ecore/src/lib/ecore/ecore_signal.c b/legacy/ecore/src/lib/ecore/ecore_signal.c
index 5f97c302c9..baa572c335 100644
--- a/legacy/ecore/src/lib/ecore/ecore_signal.c
+++ b/legacy/ecore/src/lib/ecore/ecore_signal.c
@@ -1,9 +1,20 @@
1/*
2 * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
3 */
4
1#ifndef _WIN32 5#ifndef _WIN32
6
7#ifdef HAVE_CONFIG_H
8# include <config.h>
9#endif
10
11#include <stdio.h>
2#include <sys/types.h> 12#include <sys/types.h>
3#include <sys/wait.h> 13#include <sys/wait.h>
4#include <signal.h> 14#include <signal.h>
5#include <unistd.h> 15#include <unistd.h>
6#include <assert.h> 16#include <assert.h>
17
7#include "ecore_private.h" 18#include "ecore_private.h"
8#include "Ecore.h" 19#include "Ecore.h"
9 20
diff --git a/legacy/ecore/src/lib/ecore/ecore_str.c b/legacy/ecore/src/lib/ecore/ecore_str.c
index c483a33b42..1682229152 100644
--- a/legacy/ecore/src/lib/ecore/ecore_str.c
+++ b/legacy/ecore/src/lib/ecore/ecore_str.c
@@ -17,8 +17,18 @@
17 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 17 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
18 */ 18 */
19 19
20#include <sys/types.h> 20/*
21 * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
22 */
23
24#ifdef HAVE_CONFIG_H
25# include <config.h>
26#endif
27
28#include <stdlib.h>
21#include <string.h> 29#include <string.h>
30#include <limits.h>
31#include <sys/types.h>
22 32
23#include "ecore_private.h" 33#include "ecore_private.h"
24#include "Ecore_Str.h" 34#include "Ecore_Str.h"
diff --git a/legacy/ecore/src/lib/ecore/ecore_strbuf.c b/legacy/ecore/src/lib/ecore/ecore_strbuf.c
index 4d36356df2..3e3e5ea400 100644
--- a/legacy/ecore/src/lib/ecore/ecore_strbuf.c
+++ b/legacy/ecore/src/lib/ecore/ecore_strbuf.c
@@ -1,3 +1,13 @@
1/*
2 * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
3 */
4
5#ifdef HAVE_CONFIG_H
6# include <config.h>
7#endif
8
9#include <string.h>
10
1#include "ecore_private.h" 11#include "ecore_private.h"
2#include "Ecore.h" 12#include "Ecore.h"
3#include "Ecore_Data.h" 13#include "Ecore_Data.h"
diff --git a/legacy/ecore/src/lib/ecore/ecore_time.c b/legacy/ecore/src/lib/ecore/ecore_time.c
index 855f72cd2c..a104b6150c 100644
--- a/legacy/ecore/src/lib/ecore/ecore_time.c
+++ b/legacy/ecore/src/lib/ecore/ecore_time.c
@@ -6,6 +6,8 @@
6# include <config.h> 6# include <config.h>
7#endif 7#endif
8 8
9#include <stdlib.h>
10
9#ifdef HAVE_SYS_TIME_H 11#ifdef HAVE_SYS_TIME_H
10# include <sys/time.h> 12# include <sys/time.h>
11#endif 13#endif
diff --git a/legacy/ecore/src/lib/ecore/ecore_timer.c b/legacy/ecore/src/lib/ecore/ecore_timer.c
index fc1bb7f6ca..b6d926e286 100644
--- a/legacy/ecore/src/lib/ecore/ecore_timer.c
+++ b/legacy/ecore/src/lib/ecore/ecore_timer.c
@@ -1,3 +1,14 @@
1/*
2 * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
3 */
4
5#ifdef HAVE_CONFIG_H
6# include <config.h>
7#endif
8
9#include <stdlib.h>
10#include <stdio.h>
11
1#include "ecore_private.h" 12#include "ecore_private.h"
2#include "Ecore.h" 13#include "Ecore.h"
3 14
diff --git a/legacy/ecore/src/lib/ecore/ecore_tree.c b/legacy/ecore/src/lib/ecore/ecore_tree.c
index 149543f0e4..59c63a2687 100644
--- a/legacy/ecore/src/lib/ecore/ecore_tree.c
+++ b/legacy/ecore/src/lib/ecore/ecore_tree.c
@@ -1,3 +1,13 @@
1/*
2 * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
3 */
4
5#ifdef HAVE_CONFIG_H
6# include <config.h>
7#endif
8
9#include <string.h>
10
1#include "ecore_private.h" 11#include "ecore_private.h"
2#include "Ecore.h" 12#include "Ecore.h"
3#include "Ecore_Data.h" 13#include "Ecore_Data.h"
diff --git a/legacy/ecore/src/lib/ecore/ecore_value.c b/legacy/ecore/src/lib/ecore/ecore_value.c
index a77a996c42..4589fec8b5 100644
--- a/legacy/ecore/src/lib/ecore/ecore_value.c
+++ b/legacy/ecore/src/lib/ecore/ecore_value.c
@@ -24,6 +24,17 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
24 24
25*/ 25*/
26 26
27/*
28 * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
29 */
30
31#ifdef HAVE_CONFIG_H
32# include <config.h>
33#endif
34
35#include <stdio.h>
36#include <string.h>
37
27#include "Ecore.h" 38#include "Ecore.h"
28#include "Ecore_Data.h" 39#include "Ecore_Data.h"
29#include "ecore_private.h" 40#include "ecore_private.h"
@@ -100,10 +111,10 @@ ecore_str_hash(const void *key)
100EAPI int 111EAPI int
101ecore_direct_compare(const void *key1, const void *key2) 112ecore_direct_compare(const void *key1, const void *key2)
102{ 113{
103 unsigned int k1, k2; 114 unsigned long k1, k2;
104 115
105 k1 = (unsigned int) key1; 116 k1 = (unsigned long) key1;
106 k2 = (unsigned int) key2; 117 k2 = (unsigned long) key2;
107 118
108 if (k1 > k2) 119 if (k1 > k2)
109 return 1; 120 return 1;
diff --git a/legacy/ecore/src/lib/ecore_con/Ecore_Con.h b/legacy/ecore/src/lib/ecore_con/Ecore_Con.h
index b2b9d58091..67f61230a7 100644
--- a/legacy/ecore/src/lib/ecore_con/Ecore_Con.h
+++ b/legacy/ecore/src/lib/ecore_con/Ecore_Con.h
@@ -4,9 +4,17 @@
4#ifndef _ECORE_CON_H 4#ifndef _ECORE_CON_H
5#define _ECORE_CON_H 5#define _ECORE_CON_H
6 6
7#include <time.h>
8#include <libgen.h>
9#ifdef HAVE_NETDB_H
10# include <netdb.h>
11#endif
12#include <Ecore_Data.h>
13
7#ifdef EAPI 14#ifdef EAPI
8#undef EAPI 15# undef EAPI
9#endif 16#endif
17
10#ifdef _MSC_VER 18#ifdef _MSC_VER
11# ifdef BUILDING_DLL 19# ifdef BUILDING_DLL
12# define EAPI __declspec(dllexport) 20# define EAPI __declspec(dllexport)
@@ -25,13 +33,6 @@
25# endif 33# endif
26#endif 34#endif
27 35
28#include <time.h>
29#include <libgen.h>
30#ifdef HAVE_NETDB_H
31# include <netdb.h>
32#endif
33#include <Ecore_Data.h>
34
35/** 36/**
36 * @file Ecore_Con.h 37 * @file Ecore_Con.h
37 * @brief Sockets functions. 38 * @brief Sockets functions.
diff --git a/legacy/ecore/src/lib/ecore_con/ecore_con.c b/legacy/ecore/src/lib/ecore_con/ecore_con.c
index e4040eec31..5b83ed4738 100644
--- a/legacy/ecore/src/lib/ecore_con/ecore_con.c
+++ b/legacy/ecore/src/lib/ecore_con/ecore_con.c
@@ -2,13 +2,17 @@
2 * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2 2 * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
3 */ 3 */
4 4
5#ifdef HAVE_CONFIG_H
6# include <config.h>
7#endif
8
5#include <sys/stat.h> 9#include <sys/stat.h>
6#include <arpa/inet.h> 10#include <arpa/inet.h>
7#include <sys/socket.h> 11#include <sys/socket.h>
8#include <sys/un.h> 12#include <sys/un.h>
9#include <errno.h> 13#include <errno.h>
10 14#include <unistd.h>
11#include <config.h> 15#include <fcntl.h>
12 16
13#include "Ecore.h" 17#include "Ecore.h"
14#include "ecore_private.h" 18#include "ecore_private.h"
diff --git a/legacy/ecore/src/lib/ecore_con/ecore_con_dns.c b/legacy/ecore/src/lib/ecore_con/ecore_con_dns.c
index 783b5c4ba4..d8b58cbcd7 100644
--- a/legacy/ecore/src/lib/ecore_con/ecore_con_dns.c
+++ b/legacy/ecore/src/lib/ecore_con/ecore_con_dns.c
@@ -1,6 +1,7 @@
1/* 1/*
2 * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2 2 * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
3 */ 3 */
4
4/* 5/*
5 * Simple dns lookup 6 * Simple dns lookup
6 * 7 *
@@ -26,10 +27,12 @@
26 * 27 *
27 * * Need more buffer overflow checks. 28 * * Need more buffer overflow checks.
28 */ 29 */
29#include "ecore_private.h"
30#include "Ecore.h"
31#include "ecore_con_private.h"
32 30
31#ifdef HAVE_CONFIG_H
32# include <config.h>
33#endif
34
35#include <string.h>
33#include <ctype.h> 36#include <ctype.h>
34#include <netinet/in.h> 37#include <netinet/in.h>
35#include <sys/socket.h> 38#include <sys/socket.h>
@@ -37,6 +40,10 @@
37#include <arpa/nameser.h> 40#include <arpa/nameser.h>
38#include <netdb.h> 41#include <netdb.h>
39 42
43#include "ecore_private.h"
44#include "Ecore.h"
45#include "ecore_con_private.h"
46
40typedef struct _CB_Data CB_Data; 47typedef struct _CB_Data CB_Data;
41 48
42struct _CB_Data 49struct _CB_Data
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 ec4a47123f..de21a00e10 100644
--- a/legacy/ecore/src/lib/ecore_con/ecore_con_info.c
+++ b/legacy/ecore/src/lib/ecore_con/ecore_con_info.c
@@ -1,16 +1,19 @@
1/* 1/*
2 * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2 2 * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
3 */ 3 */
4
4/* 5/*
5 * getaddrinfo with callback 6 * getaddrinfo with callback
6 * 7 *
7 * man getaddrinfo 8 * man getaddrinfo
8 * 9 *
9 */ 10 */
10#include "ecore_private.h"
11#include "Ecore.h"
12#include "ecore_con_private.h"
13 11
12#ifdef HAVE_CONFIG_H
13# include <config.h>
14#endif
15
16#include <string.h>
14#include <ctype.h> 17#include <ctype.h>
15#include <netinet/in.h> 18#include <netinet/in.h>
16#include <sys/socket.h> 19#include <sys/socket.h>
@@ -18,6 +21,10 @@
18#include <arpa/nameser.h> 21#include <arpa/nameser.h>
19#include <netdb.h> 22#include <netdb.h>
20 23
24#include "ecore_private.h"
25#include "Ecore.h"
26#include "ecore_con_private.h"
27
21typedef struct _CB_Data CB_Data; 28typedef struct _CB_Data CB_Data;
22 29
23struct _CB_Data 30struct _CB_Data
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 d450cb683a..baefc21f11 100644
--- a/legacy/ecore/src/lib/ecore_con/ecore_con_ssl.c
+++ b/legacy/ecore/src/lib/ecore_con/ecore_con_ssl.c
@@ -2,6 +2,10 @@
2 * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2 2 * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
3 */ 3 */
4 4
5#ifdef HAVE_CONFIG_H
6# include <config.h>
7#endif
8
5#if USE_GNUTLS 9#if USE_GNUTLS
6# include <gnutls/gnutls.h> 10# include <gnutls/gnutls.h>
7#elif USE_OPENSSL 11#elif USE_OPENSSL
@@ -256,7 +260,7 @@ _ecore_con_ssl_server_shutdown_gnutls(Ecore_Con_Server *svr)
256 * should try again later. 260 * should try again later.
257 */ 261 */
258static Ecore_Con_State 262static Ecore_Con_State
259_ecore_con_ssl_server_try_gnutls(Ecore_Con_Server *svr) 263_ecore_con_ssl_server_try_gnutls(Ecore_Con_Server *svr __UNUSED__)
260{ 264{
261 return ECORE_CON_CONNECTED; 265 return ECORE_CON_CONNECTED;
262} 266}
diff --git a/legacy/ecore/src/lib/ecore_con/ecore_con_url.c b/legacy/ecore/src/lib/ecore_con/ecore_con_url.c
index 783d9304b4..9461aa6313 100644
--- a/legacy/ecore/src/lib/ecore_con/ecore_con_url.c
+++ b/legacy/ecore/src/lib/ecore_con/ecore_con_url.c
@@ -43,15 +43,21 @@
43 * 43 *
44 * FIXME: Support more CURL features: Authentication, Progress callbacks and more... 44 * FIXME: Support more CURL features: Authentication, Progress callbacks and more...
45 */ 45 */
46#include "Ecore.h"
47#include "ecore_private.h"
48#include "Ecore_Con.h"
49#include "ecore_con_private.h"
50 46
47#ifdef HAVE_CONFIG_H
48# include <config.h>
49#endif
50
51#include <string.h>
51#include <errno.h> 52#include <errno.h>
52#include <sys/stat.h> 53#include <sys/stat.h>
53#include <sys/types.h> 54#include <sys/types.h>
54 55
56#include "Ecore.h"
57#include "ecore_private.h"
58#include "Ecore_Con.h"
59#include "ecore_con_private.h"
60
55/** 61/**
56 * @defgroup Ecore_Con_Url_Group Ecore URL Connection Functions 62 * @defgroup Ecore_Con_Url_Group Ecore URL Connection Functions
57 * 63 *
@@ -827,7 +833,7 @@ _ecore_con_url_perform(Ecore_Con_Url *url_con)
827} 833}
828 834
829static int 835static int
830_ecore_con_url_idler_handler(void *data) 836_ecore_con_url_idler_handler(void *data __UNUSED__)
831{ 837{
832 double start; 838 double start;
833 int done = 1; 839 int done = 1;
diff --git a/legacy/ecore/src/lib/ecore_config/ecore_config.c b/legacy/ecore/src/lib/ecore_config/ecore_config.c
index 98039d7a21..0966d86546 100644
--- a/legacy/ecore/src/lib/ecore_config/ecore_config.c
+++ b/legacy/ecore/src/lib/ecore_config/ecore_config.c
@@ -1,3 +1,11 @@
1/*
2 * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
3 */
4
5#ifdef HAVE_CONFIG_H
6# include "config.h"
7#endif
8
1#include <string.h> 9#include <string.h>
2#include <ctype.h> 10#include <ctype.h>
3#include <stdio.h> 11#include <stdio.h>
@@ -11,7 +19,6 @@
11#include <unistd.h> 19#include <unistd.h>
12 20
13#include "Ecore_Config.h" 21#include "Ecore_Config.h"
14#include "config.h"
15#include "ecore_config_private.h" 22#include "ecore_config_private.h"
16#include "ecore_config_ipc.h" 23#include "ecore_config_ipc.h"
17 24
diff --git a/legacy/ecore/src/lib/ecore_config/ecore_config_db.c b/legacy/ecore/src/lib/ecore_config/ecore_config_db.c
index 712ebbb47c..ecd19e1c33 100644
--- a/legacy/ecore/src/lib/ecore_config/ecore_config_db.c
+++ b/legacy/ecore/src/lib/ecore_config/ecore_config_db.c
@@ -1,3 +1,11 @@
1/*
2 * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
3 */
4
5#ifdef HAVE_CONFIG_H
6# include "config.h"
7#endif
8
1#include <stdlib.h> 9#include <stdlib.h>
2#include <stdio.h> 10#include <stdio.h>
3#include <string.h> 11#include <string.h>
@@ -9,10 +17,11 @@
9#include <unistd.h> 17#include <unistd.h>
10#include <locale.h> 18#include <locale.h>
11 19
20#include <Eet.h>
21
12#include "Ecore_Config.h" 22#include "Ecore_Config.h"
13#include "ecore_config_private.h" 23#include "ecore_config_private.h"
14#include "ecore_config_util.h" 24#include "ecore_config_util.h"
15#include <Eet.h>
16 25
17struct _Ecore_Config_DB_File 26struct _Ecore_Config_DB_File
18{ 27{
diff --git a/legacy/ecore/src/lib/ecore_config/ecore_config_extra.c b/legacy/ecore/src/lib/ecore_config/ecore_config_extra.c
index 79813630d4..9aba4350ba 100644
--- a/legacy/ecore/src/lib/ecore_config/ecore_config_extra.c
+++ b/legacy/ecore/src/lib/ecore_config/ecore_config_extra.c
@@ -1,3 +1,11 @@
1/*
2 * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
3 */
4
5#ifdef HAVE_CONFIG_H
6# include "config.h"
7#endif
8
1#include <string.h> 9#include <string.h>
2#include <stdio.h> 10#include <stdio.h>
3#include <stdlib.h> 11#include <stdlib.h>
@@ -8,8 +16,6 @@
8#include "Ecore_Config.h" 16#include "Ecore_Config.h"
9#include "Ecore.h" 17#include "Ecore.h"
10 18
11#include "config.h"
12
13typedef struct __Ecore_Config_Arg_Callback _Ecore_Config_Arg_Callback; 19typedef struct __Ecore_Config_Arg_Callback _Ecore_Config_Arg_Callback;
14struct __Ecore_Config_Arg_Callback 20struct __Ecore_Config_Arg_Callback
15{ 21{
diff --git a/legacy/ecore/src/lib/ecore_config/ecore_config_ipc_ecore.c b/legacy/ecore/src/lib/ecore_config/ecore_config_ipc_ecore.c
index 44fa9d0b32..b528584db6 100644
--- a/legacy/ecore/src/lib/ecore_config/ecore_config_ipc_ecore.c
+++ b/legacy/ecore/src/lib/ecore_config/ecore_config_ipc_ecore.c
@@ -1,3 +1,11 @@
1/*
2 * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
3 */
4
5#ifdef HAVE_CONFIG_H
6# include "config.h"
7#endif
8
1/* by Azundris, with thanks to Corey Donohoe <atmos@atmos.org> */ 9/* by Azundris, with thanks to Corey Donohoe <atmos@atmos.org> */
2#include <stdio.h> 10#include <stdio.h>
3#include <stdlib.h> 11#include <stdlib.h>
@@ -18,7 +26,6 @@
18#include "ecore_config_private.h" 26#include "ecore_config_private.h"
19 27
20#include "Ecore_Config.h" 28#include "Ecore_Config.h"
21#include "config.h"
22 29
23 30
24/*****************************************************************************/ 31/*****************************************************************************/
diff --git a/legacy/ecore/src/lib/ecore_config/ecore_config_ipc_main.c b/legacy/ecore/src/lib/ecore_config/ecore_config_ipc_main.c
index 5d6a18a077..7478559b67 100644
--- a/legacy/ecore/src/lib/ecore_config/ecore_config_ipc_main.c
+++ b/legacy/ecore/src/lib/ecore_config/ecore_config_ipc_main.c
@@ -1,3 +1,11 @@
1/*
2 * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
3 */
4
5#ifdef HAVE_CONFIG_H
6# include "config.h"
7#endif
8
1/* ############## bad */ 9/* ############## bad */
2#define HAVE_EVAS2 10#define HAVE_EVAS2
3 11
@@ -15,7 +23,6 @@
15#include "ecore_config_util.h" 23#include "ecore_config_util.h"
16#include "ecore_config_ipc.h" 24#include "ecore_config_ipc.h"
17 25
18#include "config.h"
19#include "ecore_config_private.h" 26#include "ecore_config_private.h"
20 27
21static Ecore_Config_Server *__ecore_config_servers; 28static Ecore_Config_Server *__ecore_config_servers;
diff --git a/legacy/ecore/src/lib/ecore_config/ecore_config_storage.c b/legacy/ecore/src/lib/ecore_config/ecore_config_storage.c
index 104dd18945..87cb59be3a 100644
--- a/legacy/ecore/src/lib/ecore_config/ecore_config_storage.c
+++ b/legacy/ecore/src/lib/ecore_config/ecore_config_storage.c
@@ -1,3 +1,11 @@
1/*
2 * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
3 */
4
5#ifdef HAVE_CONFIG_H
6# include "config.h"
7#endif
8
1#include <stdlib.h> 9#include <stdlib.h>
2#include <stdio.h> 10#include <stdio.h>
3#include <string.h> 11#include <string.h>
diff --git a/legacy/ecore/src/lib/ecore_config/ecore_config_util.c b/legacy/ecore/src/lib/ecore_config/ecore_config_util.c
index 6ee17c3725..c53ba1ca8a 100644
--- a/legacy/ecore/src/lib/ecore_config/ecore_config_util.c
+++ b/legacy/ecore/src/lib/ecore_config/ecore_config_util.c
@@ -1,7 +1,16 @@
1/*
2 * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
3 */
4
5#ifdef HAVE_CONFIG_H
6# include "config.h"
7#endif
8
1/* azundris */ 9/* azundris */
2 10
3#include <sys/types.h> 11#include <sys/types.h>
4#include <stdlib.h> /* malloc(), free() */ 12#include <stdlib.h> /* malloc(), free() */
13#include <stdio.h>
5#include <string.h> /* str...() */ 14#include <string.h> /* str...() */
6 15
7#include <stdarg.h> /* varargs in sprintf/appendf */ 16#include <stdarg.h> /* varargs in sprintf/appendf */
diff --git a/legacy/ecore/src/lib/ecore_directfb/Ecore_DirectFB.h b/legacy/ecore/src/lib/ecore_directfb/Ecore_DirectFB.h
index 7f9e8982ef..def50e1b99 100644
--- a/legacy/ecore/src/lib/ecore_directfb/Ecore_DirectFB.h
+++ b/legacy/ecore/src/lib/ecore_directfb/Ecore_DirectFB.h
@@ -1,6 +1,9 @@
1#ifndef _ECORE_DIRECTFB_H 1#ifndef _ECORE_DIRECTFB_H
2#define _ECORE_DIRECTFB_H 2#define _ECORE_DIRECTFB_H
3 3
4#include <directfb.h>
5#include <Ecore_Data.h>
6
4#ifdef EAPI 7#ifdef EAPI
5#undef EAPI 8#undef EAPI
6#endif 9#endif
@@ -22,9 +25,6 @@
22# endif 25# endif
23#endif 26#endif
24 27
25#include <Ecore_Data.h>
26#include <directfb.h>
27
28 28
29#ifdef __cplusplus 29#ifdef __cplusplus
30extern "C" { 30extern "C" {
diff --git a/legacy/ecore/src/lib/ecore_directfb/ecore_directfb.c b/legacy/ecore/src/lib/ecore_directfb/ecore_directfb.c
index 398200caae..7f7f6282af 100644
--- a/legacy/ecore/src/lib/ecore_directfb/ecore_directfb.c
+++ b/legacy/ecore/src/lib/ecore_directfb/ecore_directfb.c
@@ -1,3 +1,14 @@
1/*
2 * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
3 */
4
5#ifdef HAVE_CONFIG_H
6# include <config.h>
7#endif
8
9#include <stdio.h>
10#include <string.h>
11
1#include "ecore_private.h" 12#include "ecore_private.h"
2#include "Ecore_DirectFB.h" 13#include "Ecore_DirectFB.h"
3#include "ecore_directfb_private.h" 14#include "ecore_directfb_private.h"
@@ -643,7 +654,7 @@ ecore_directfb_window_size_get(Ecore_DirectFB_Window *ecore_window, int *w, int
643} 654}
644 655
645EAPI int 656EAPI int
646ecore_directfb_init(const char *name) 657ecore_directfb_init(const char *name __UNUSED__)
647{ 658{
648 int i = 0; 659 int i = 0;
649 660
@@ -695,8 +706,6 @@ ecore_directfb_init(const char *name)
695EAPI int 706EAPI int
696ecore_directfb_shutdown(void) 707ecore_directfb_shutdown(void)
697{ 708{
698 int i;
699
700 _ecore_directfb_init_count--; 709 _ecore_directfb_init_count--;
701 if (_ecore_directfb_init_count > 0) return _ecore_directfb_init_count; 710 if (_ecore_directfb_init_count > 0) return _ecore_directfb_init_count;
702 if (_ecore_directfb_init_count < 0) 711 if (_ecore_directfb_init_count < 0)
diff --git a/legacy/ecore/src/lib/ecore_evas/ecore_evas.c b/legacy/ecore/src/lib/ecore_evas/ecore_evas.c
index 8aa28b4b84..c4df7df69a 100644
--- a/legacy/ecore/src/lib/ecore_evas/ecore_evas.c
+++ b/legacy/ecore/src/lib/ecore_evas/ecore_evas.c
@@ -1,13 +1,17 @@
1/*
2 * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
3 */
1 4
2#ifdef HAVE_CONFIG_H 5#ifdef HAVE_CONFIG_H
3# include <config.h> 6# include <config.h>
4#endif 7#endif
5 8
9#include <string.h>
10
6#include "Ecore.h" 11#include "Ecore.h"
7#include "ecore_private.h" 12#include "ecore_private.h"
8#include "ecore_evas_private.h" 13#include "ecore_evas_private.h"
9#include "Ecore_Evas.h" 14#include "Ecore_Evas.h"
10#include <string.h>
11 15
12static int _ecore_evas_init_count = 0; 16static int _ecore_evas_init_count = 0;
13static Ecore_Fd_Handler *_ecore_evas_async_events_fd = NULL; 17static Ecore_Fd_Handler *_ecore_evas_async_events_fd = NULL;
diff --git a/legacy/ecore/src/lib/ecore_evas/ecore_evas_directfb.c b/legacy/ecore/src/lib/ecore_evas/ecore_evas_directfb.c
index 16ba4f489d..9c779573b2 100644
--- a/legacy/ecore/src/lib/ecore_evas/ecore_evas_directfb.c
+++ b/legacy/ecore/src/lib/ecore_evas/ecore_evas_directfb.c
@@ -1,4 +1,13 @@
1#include "config.h" 1/*
2 * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
3 */
4
5#ifdef HAVE_CONFIG_H
6# include "config.h"
7#endif
8
9#include <string.h>
10
2#include "Ecore.h" 11#include "Ecore.h"
3#include "ecore_private.h" 12#include "ecore_private.h"
4#include "ecore_evas_private.h" 13#include "ecore_evas_private.h"
diff --git a/legacy/ecore/src/lib/ecore_evas/ecore_evas_fb.c b/legacy/ecore/src/lib/ecore_evas/ecore_evas_fb.c
index 89d9391e48..e0515e58b7 100644
--- a/legacy/ecore/src/lib/ecore_evas/ecore_evas_fb.c
+++ b/legacy/ecore/src/lib/ecore_evas/ecore_evas_fb.c
@@ -1,7 +1,14 @@
1/* 1/*
2 * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2 2 * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
3 */ 3 */
4#include "config.h" 4
5#ifdef HAVE_CONFIG_H
6# include "config.h"
7#endif
8
9#include <sys/types.h>
10#include <dirent.h>
11
5#include "Ecore.h" 12#include "Ecore.h"
6#include "ecore_private.h" 13#include "ecore_private.h"
7#include "ecore_evas_private.h" 14#include "ecore_evas_private.h"
diff --git a/legacy/ecore/src/lib/ecore_evas/ecore_evas_quartz.c b/legacy/ecore/src/lib/ecore_evas/ecore_evas_quartz.c
index 2a054713e7..54b9aea6ff 100644
--- a/legacy/ecore/src/lib/ecore_evas/ecore_evas_quartz.c
+++ b/legacy/ecore/src/lib/ecore_evas/ecore_evas_quartz.c
@@ -1,4 +1,11 @@
1#include "config.h" 1/*
2 * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
3 */
4
5#ifdef HAVE_CONFIG_H
6# include "config.h"
7#endif
8
2#ifdef BUILD_ECORE_EVAS_QUARTZ 9#ifdef BUILD_ECORE_EVAS_QUARTZ
3#import <Cocoa/Cocoa.h> 10#import <Cocoa/Cocoa.h>
4#endif 11#endif
diff --git a/legacy/ecore/src/lib/ecore_evas/ecore_evas_sdl.c b/legacy/ecore/src/lib/ecore_evas/ecore_evas_sdl.c
index 2274024871..b17643ffe6 100644
--- a/legacy/ecore/src/lib/ecore_evas/ecore_evas_sdl.c
+++ b/legacy/ecore/src/lib/ecore_evas/ecore_evas_sdl.c
@@ -1,4 +1,11 @@
1#include "config.h" 1/*
2 * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
3 */
4
5#ifdef HAVE_CONFIG_H
6# include "config.h"
7#endif
8
2#include "Ecore.h" 9#include "Ecore.h"
3#include "ecore_private.h" 10#include "ecore_private.h"
4#include "ecore_evas_private.h" 11#include "ecore_evas_private.h"
diff --git a/legacy/ecore/src/lib/ecore_evas/ecore_evas_util.c b/legacy/ecore/src/lib/ecore_evas/ecore_evas_util.c
index 626193e023..67c24fcedc 100644
--- a/legacy/ecore/src/lib/ecore_evas/ecore_evas_util.c
+++ b/legacy/ecore/src/lib/ecore_evas/ecore_evas_util.c
@@ -1,7 +1,13 @@
1/*
2 * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
3 */
4
1#ifdef HAVE_CONFIG_H 5#ifdef HAVE_CONFIG_H
2# include <config.h> 6# include <config.h>
3#endif 7#endif
4 8
9#include <string.h>
10
5#include "Ecore.h" 11#include "Ecore.h"
6#include "ecore_private.h" 12#include "ecore_private.h"
7#include "ecore_evas_private.h" 13#include "ecore_evas_private.h"
diff --git a/legacy/ecore/src/lib/ecore_evas/ecore_evas_x.c b/legacy/ecore/src/lib/ecore_evas/ecore_evas_x.c
index 2f8a94adc4..a712859c13 100644
--- a/legacy/ecore/src/lib/ecore_evas/ecore_evas_x.c
+++ b/legacy/ecore/src/lib/ecore_evas/ecore_evas_x.c
@@ -6,6 +6,8 @@
6# include "config.h" 6# include "config.h"
7#endif 7#endif
8 8
9#include <string.h>
10
9#include "Ecore.h" 11#include "Ecore.h"
10#include "ecore_private.h" 12#include "ecore_private.h"
11#ifdef BUILD_ECORE_EVAS_X11 13#ifdef BUILD_ECORE_EVAS_X11
diff --git a/legacy/ecore/src/lib/ecore_fb/ecore_fb.c b/legacy/ecore/src/lib/ecore_fb/ecore_fb.c
index a695dda15a..83b36b5658 100644
--- a/legacy/ecore/src/lib/ecore_fb/ecore_fb.c
+++ b/legacy/ecore/src/lib/ecore_fb/ecore_fb.c
@@ -1,3 +1,11 @@
1/*
2 * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
3 */
4
5#ifdef HAVE_CONFIG_H
6# include <config.h>
7#endif
8
1#include "Ecore_Fb.h" 9#include "Ecore_Fb.h"
2#include "ecore_fb_private.h" 10#include "ecore_fb_private.h"
3 11
diff --git a/legacy/ecore/src/lib/ecore_fb/ecore_fb_li.c b/legacy/ecore/src/lib/ecore_fb/ecore_fb_li.c
index cc1d591c5f..bc0e11f009 100644
--- a/legacy/ecore/src/lib/ecore_fb/ecore_fb_li.c
+++ b/legacy/ecore/src/lib/ecore_fb/ecore_fb_li.c
@@ -1,3 +1,11 @@
1/*
2 * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
3 */
4
5#ifdef HAVE_CONFIG_H
6# include <config.h>
7#endif
8
1#include "Ecore_Fb.h" 9#include "Ecore_Fb.h"
2#include "ecore_fb_private.h" 10#include "ecore_fb_private.h"
3 11
diff --git a/legacy/ecore/src/lib/ecore_fb/ecore_fb_private.h b/legacy/ecore/src/lib/ecore_fb/ecore_fb_private.h
index 2d098095e0..6b5628196e 100644
--- a/legacy/ecore/src/lib/ecore_fb/ecore_fb_private.h
+++ b/legacy/ecore/src/lib/ecore_fb/ecore_fb_private.h
@@ -6,6 +6,7 @@
6#include "Ecore_Data.h" 6#include "Ecore_Data.h"
7 7
8#include <stdio.h> 8#include <stdio.h>
9#include <string.h>
9#include <unistd.h> 10#include <unistd.h>
10#include <termios.h> 11#include <termios.h>
11#include <sys/types.h> 12#include <sys/types.h>
diff --git a/legacy/ecore/src/lib/ecore_fb/ecore_fb_ts.c b/legacy/ecore/src/lib/ecore_fb/ecore_fb_ts.c
index 6265becb24..895f9a3101 100644
--- a/legacy/ecore/src/lib/ecore_fb/ecore_fb_ts.c
+++ b/legacy/ecore/src/lib/ecore_fb/ecore_fb_ts.c
@@ -1,11 +1,19 @@
1#include "Ecore_Fb.h" 1/*
2#include "ecore_fb_private.h" 2 * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
3#include "config.h" 3 */
4
5#ifdef HAVE_CONFIG_H
6# include <config.h>
7#endif
8
4#ifdef HAVE_TSLIB 9#ifdef HAVE_TSLIB
5#include <tslib.h> 10# include <tslib.h>
6#include <errno.h> 11# include <errno.h>
7#endif 12#endif
8 13
14#include "Ecore_Fb.h"
15#include "ecore_fb_private.h"
16
9typedef struct _Ecore_Fb_Ts_Event Ecore_Fb_Ts_Event; 17typedef struct _Ecore_Fb_Ts_Event Ecore_Fb_Ts_Event;
10typedef struct _Ecore_Fb_Ts_Calibrate Ecore_Fb_Ts_Calibrate; 18typedef struct _Ecore_Fb_Ts_Calibrate Ecore_Fb_Ts_Calibrate;
11typedef struct _Ecore_Fb_Ts_Backlight Ecore_Fb_Ts_Backlight; 19typedef struct _Ecore_Fb_Ts_Backlight Ecore_Fb_Ts_Backlight;
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 9831ef3e3c..972aa9ba84 100644
--- a/legacy/ecore/src/lib/ecore_fb/ecore_fb_vt.c
+++ b/legacy/ecore/src/lib/ecore_fb/ecore_fb_vt.c
@@ -1,3 +1,11 @@
1/*
2 * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
3 */
4
5#ifdef HAVE_CONFIG_H
6# include <config.h>
7#endif
8
1#include "Ecore_Fb.h" 9#include "Ecore_Fb.h"
2#include "ecore_fb_private.h" 10#include "ecore_fb_private.h"
3 11
diff --git a/legacy/ecore/src/lib/ecore_file/ecore_file.c b/legacy/ecore/src/lib/ecore_file/ecore_file.c
index 9112a8affb..eb3f4f0982 100644
--- a/legacy/ecore/src/lib/ecore_file/ecore_file.c
+++ b/legacy/ecore/src/lib/ecore_file/ecore_file.c
@@ -6,6 +6,13 @@
6# include <config.h> 6# include <config.h>
7#endif 7#endif
8 8
9#include <stdio.h>
10#include <string.h>
11#include <sys/types.h>
12#include <sys/stat.h>
13#include <unistd.h>
14#include <dirent.h>
15
9#ifndef _FILE_OFFSET_BITS 16#ifndef _FILE_OFFSET_BITS
10# define _FILE_OFFSET_BITS 64 17# define _FILE_OFFSET_BITS 64
11#endif 18#endif
diff --git a/legacy/ecore/src/lib/ecore_file/ecore_file_download.c b/legacy/ecore/src/lib/ecore_file/ecore_file_download.c
index e0472f0820..4506f72f7f 100644
--- a/legacy/ecore/src/lib/ecore_file/ecore_file_download.c
+++ b/legacy/ecore/src/lib/ecore_file/ecore_file_download.c
@@ -6,6 +6,9 @@
6# include <config.h> 6# include <config.h>
7#endif 7#endif
8 8
9#include <stdio.h>
10#include <string.h>
11
9#include "Ecore_Con.h" 12#include "Ecore_Con.h"
10#include "ecore_file_private.h" 13#include "ecore_file_private.h"
11 14
diff --git a/legacy/ecore/src/lib/ecore_file/ecore_file_monitor_inotify.c b/legacy/ecore/src/lib/ecore_file/ecore_file_monitor_inotify.c
index 513ee2c158..a505ef3b81 100644
--- a/legacy/ecore/src/lib/ecore_file/ecore_file_monitor_inotify.c
+++ b/legacy/ecore/src/lib/ecore_file/ecore_file_monitor_inotify.c
@@ -6,6 +6,9 @@
6# include <config.h> 6# include <config.h>
7#endif 7#endif
8 8
9#include <stdio.h>
10#include <string.h>
11
9#include "ecore_file_private.h" 12#include "ecore_file_private.h"
10 13
11/* 14/*
diff --git a/legacy/ecore/src/lib/ecore_file/ecore_file_monitor_poll.c b/legacy/ecore/src/lib/ecore_file/ecore_file_monitor_poll.c
index abbdd22f51..6573539dc1 100644
--- a/legacy/ecore/src/lib/ecore_file/ecore_file_monitor_poll.c
+++ b/legacy/ecore/src/lib/ecore_file/ecore_file_monitor_poll.c
@@ -6,6 +6,9 @@
6# include <config.h> 6# include <config.h>
7#endif 7#endif
8 8
9#include <stdio.h>
10#include <string.h>
11
9#include "ecore_file_private.h" 12#include "ecore_file_private.h"
10 13
11#ifdef HAVE_POLL 14#ifdef HAVE_POLL
diff --git a/legacy/ecore/src/lib/ecore_file/ecore_file_path.c b/legacy/ecore/src/lib/ecore_file/ecore_file_path.c
index 7100d95e49..de2b4dc4d4 100644
--- a/legacy/ecore/src/lib/ecore_file/ecore_file_path.c
+++ b/legacy/ecore/src/lib/ecore_file/ecore_file_path.c
@@ -6,6 +6,9 @@
6# include <config.h> 6# include <config.h>
7#endif 7#endif
8 8
9#include <stdio.h>
10#include <string.h>
11
9#include "ecore_file_private.h" 12#include "ecore_file_private.h"
10 13
11static int init = 0; 14static int init = 0;
diff --git a/legacy/ecore/src/lib/ecore_imf/Ecore_IMF.h b/legacy/ecore/src/lib/ecore_imf/Ecore_IMF.h
index d8398199d1..71f890f27c 100644
--- a/legacy/ecore/src/lib/ecore_imf/Ecore_IMF.h
+++ b/legacy/ecore/src/lib/ecore_imf/Ecore_IMF.h
@@ -5,6 +5,8 @@
5#ifndef _ECORE_IMF_H 5#ifndef _ECORE_IMF_H
6#define _ECORE_IMF_H 6#define _ECORE_IMF_H
7 7
8#include <Ecore_Data.h>
9
8#ifdef EAPI 10#ifdef EAPI
9# undef EAPI 11# undef EAPI
10#endif 12#endif
@@ -31,8 +33,6 @@
31# endif 33# endif
32#endif /* ! _WIN32 */ 34#endif /* ! _WIN32 */
33 35
34#include <Ecore_Data.h>
35
36#ifdef __cplusplus 36#ifdef __cplusplus
37extern "C" { 37extern "C" {
38#endif 38#endif
diff --git a/legacy/ecore/src/lib/ecore_imf/ecore_imf.c b/legacy/ecore/src/lib/ecore_imf/ecore_imf.c
index caf967142a..5290d37295 100644
--- a/legacy/ecore/src/lib/ecore_imf/ecore_imf.c
+++ b/legacy/ecore/src/lib/ecore_imf/ecore_imf.c
@@ -2,13 +2,15 @@
2 * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2 2 * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
3 */ 3 */
4 4
5#include "config.h" 5#ifdef HAVE_CONFIG_H
6# include <config.h>
7#endif
8
9#include <Ecore.h>
6 10
7#include "Ecore_IMF.h" 11#include "Ecore_IMF.h"
8#include "ecore_imf_private.h" 12#include "ecore_imf_private.h"
9 13
10#include <Ecore.h>
11
12EAPI int ECORE_IMF_EVENT_PREEDIT_START = 0; 14EAPI int ECORE_IMF_EVENT_PREEDIT_START = 0;
13EAPI int ECORE_IMF_EVENT_PREEDIT_END = 0; 15EAPI int ECORE_IMF_EVENT_PREEDIT_END = 0;
14EAPI int ECORE_IMF_EVENT_PREEDIT_CHANGED = 0; 16EAPI int ECORE_IMF_EVENT_PREEDIT_CHANGED = 0;
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 83f1fd4d0a..827b794ec1 100644
--- a/legacy/ecore/src/lib/ecore_imf/ecore_imf_context.c
+++ b/legacy/ecore/src/lib/ecore_imf/ecore_imf_context.c
@@ -2,16 +2,19 @@
2 * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2 2 * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
3 */ 3 */
4 4
5#include <locale.h> 5#ifdef HAVE_CONFIG_H
6# include <config.h>
7#endif
8
6#include <stdlib.h> 9#include <stdlib.h>
10#include <string.h>
11#include <locale.h>
7 12
8#include "config.h" 13#include <Ecore.h>
9 14
10#include "Ecore_IMF.h" 15#include "Ecore_IMF.h"
11#include "ecore_imf_private.h" 16#include "ecore_imf_private.h"
12 17
13#include <Ecore.h>
14
15/** 18/**
16 * @defgroup Ecore_IMF_Context_Group Ecore Input Method Context Functions 19 * @defgroup Ecore_IMF_Context_Group Ecore Input Method Context Functions
17 * 20 *
diff --git a/legacy/ecore/src/lib/ecore_imf/ecore_imf_module.c b/legacy/ecore/src/lib/ecore_imf/ecore_imf_module.c
index 78def12667..78de2dc98e 100644
--- a/legacy/ecore/src/lib/ecore_imf/ecore_imf_module.c
+++ b/legacy/ecore/src/lib/ecore_imf/ecore_imf_module.c
@@ -2,11 +2,14 @@
2 * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2 2 * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
3 */ 3 */
4 4
5#include <limits.h> 5#ifdef HAVE_CONFIG_H
6# include <config.h>
7#endif
8
6#include <stdio.h> 9#include <stdio.h>
7#include <stdlib.h> 10#include <stdlib.h>
8 11#include <string.h>
9#include "config.h" 12#include <limits.h>
10 13
11#include "ecore_imf_private.h" 14#include "ecore_imf_private.h"
12 15
diff --git a/legacy/ecore/src/lib/ecore_ipc/Ecore_Ipc.h b/legacy/ecore/src/lib/ecore_ipc/Ecore_Ipc.h
index 59130dbf84..8e07366880 100644
--- a/legacy/ecore/src/lib/ecore_ipc/Ecore_Ipc.h
+++ b/legacy/ecore/src/lib/ecore_ipc/Ecore_Ipc.h
@@ -1,9 +1,12 @@
1#ifndef _ECORE_IPC_H 1#ifndef _ECORE_IPC_H
2#define _ECORE_IPC_H 2#define _ECORE_IPC_H
3 3
4#include <Ecore_Data.h>
5
4#ifdef EAPI 6#ifdef EAPI
5#undef EAPI 7# undef EAPI
6#endif 8#endif
9
7#ifdef _MSC_VER 10#ifdef _MSC_VER
8# ifdef BUILDING_DLL 11# ifdef BUILDING_DLL
9# define EAPI __declspec(dllexport) 12# define EAPI __declspec(dllexport)
@@ -22,8 +25,6 @@
22# endif 25# endif
23#endif 26#endif
24 27
25#include <Ecore_Data.h>
26
27/** 28/**
28 * @file Ecore_Ipc.h 29 * @file Ecore_Ipc.h
29 * @brief Ecore inter-process communication functions. 30 * @brief Ecore inter-process communication functions.
diff --git a/legacy/ecore/src/lib/ecore_ipc/ecore_ipc.c b/legacy/ecore/src/lib/ecore_ipc/ecore_ipc.c
index 1ea788787a..529c75f0d2 100644
--- a/legacy/ecore/src/lib/ecore_ipc/ecore_ipc.c
+++ b/legacy/ecore/src/lib/ecore_ipc/ecore_ipc.c
@@ -1,5 +1,12 @@
1/*
2 * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
3 */
4
5#ifdef HAVE_CONFIG_H
6# include "config.h"
7#endif
8
1#include "Ecore.h" 9#include "Ecore.h"
2#include <config.h>
3#include "Ecore_Con.h" 10#include "Ecore_Con.h"
4#include "ecore_private.h" 11#include "ecore_private.h"
5#include "ecore_ipc_private.h" 12#include "ecore_ipc_private.h"
@@ -8,6 +15,7 @@
8#ifdef HAVE_NETINET_IN_H 15#ifdef HAVE_NETINET_IN_H
9# include <netinet/in.h> 16# include <netinet/in.h>
10#endif 17#endif
18
11#ifdef HAVE_WINSOCK2_H 19#ifdef HAVE_WINSOCK2_H
12# include <winsock2.h> 20# include <winsock2.h>
13#endif 21#endif
diff --git a/legacy/ecore/src/lib/ecore_job/ecore_job.c b/legacy/ecore/src/lib/ecore_job/ecore_job.c
index 44ac1e08cf..dce9132105 100644
--- a/legacy/ecore/src/lib/ecore_job/ecore_job.c
+++ b/legacy/ecore/src/lib/ecore_job/ecore_job.c
@@ -1,8 +1,13 @@
1/*
2 * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
3 */
1 4
2#ifdef HAVE_CONFIG_H 5#ifdef HAVE_CONFIG_H
3# include <config.h> 6# include <config.h>
4#endif 7#endif
5 8
9#include <stdlib.h>
10
6#include "Ecore.h" 11#include "Ecore.h"
7#include "ecore_private.h" 12#include "ecore_private.h"
8#include "ecore_job_private.h" 13#include "ecore_job_private.h"
diff --git a/legacy/ecore/src/lib/ecore_sdl/ecore_sdl.c b/legacy/ecore/src/lib/ecore_sdl/ecore_sdl.c
index 2d9d3168a2..3187c3d952 100644
--- a/legacy/ecore/src/lib/ecore_sdl/ecore_sdl.c
+++ b/legacy/ecore/src/lib/ecore_sdl/ecore_sdl.c
@@ -1,3 +1,11 @@
1/*
2 * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
3 */
4
5#ifdef HAVE_CONFIG_H
6# include <config.h>
7#endif
8
1#include <SDL/SDL.h> 9#include <SDL/SDL.h>
2 10
3#include "Ecore_Sdl.h" 11#include "Ecore_Sdl.h"
diff --git a/legacy/ecore/src/lib/ecore_txt/ecore_txt.c b/legacy/ecore/src/lib/ecore_txt/ecore_txt.c
index 8f605ab2e4..29608af9b1 100644
--- a/legacy/ecore/src/lib/ecore_txt/ecore_txt.c
+++ b/legacy/ecore/src/lib/ecore_txt/ecore_txt.c
@@ -1,14 +1,15 @@
1/*
2 * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
3 */
1 4
2#ifdef HAVE_CONFIG_H 5#ifdef HAVE_CONFIG_H
3# include <config.h> 6# include <config.h>
4#endif 7#endif
5 8
6#include <iconv.h>
7#include <errno.h>
8#include <stdlib.h> 9#include <stdlib.h>
9#include <stdio.h>
10#include <unistd.h>
11#include <string.h> 10#include <string.h>
11#include <errno.h>
12#include <iconv.h>
12 13
13#include "Ecore_Txt.h" 14#include "Ecore_Txt.h"
14#include "ecore_txt_private.h" 15#include "ecore_txt_private.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 bb9751ee0f..ab4c58eab3 100644
--- a/legacy/ecore/src/lib/ecore_x/xlib/ecore_x.c
+++ b/legacy/ecore/src/lib/ecore_x/xlib/ecore_x.c
@@ -1,6 +1,13 @@
1/* 1/*
2 * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2 2 * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
3 */ 3 */
4
5#ifdef HAVE_CONFIG_H
6# include <config.h>
7#endif
8
9#include <stdlib.h>
10
4#include "ecore_private.h" 11#include "ecore_private.h"
5#include "Ecore.h" 12#include "Ecore.h"
6#include "ecore_x_private.h" 13#include "ecore_x_private.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 cdd22bbf9c..845368f8a1 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,27 @@
2 * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2 2 * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
3 */ 3 */
4 4
5#include "config.h" 5#ifdef HAVE_CONFIG_H
6# include <config.h>
7#endif
8
9#ifdef HAVE_ALLOCA_H
10# include <alloca.h>
11#elif defined __GNUC__
12# define alloca __builtin_alloca
13#elif defined _AIX
14# define alloca __alloca
15#elif defined _MSC_VER
16# include <malloc.h>
17# define alloca _alloca
18#else
19# include <stddef.h>
20# ifdef __cplusplus
21extern "C"
22# endif
23void *alloca (size_t);
24#endif
25
6#include "Ecore.h" 26#include "Ecore.h"
7#include "ecore_x_private.h" 27#include "ecore_x_private.h"
8#include "Ecore_X.h" 28#include "Ecore_X.h"
diff --git a/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_composite.c b/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_composite.c
index 486d042c96..31dc99aa2d 100644
--- a/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_composite.c
+++ b/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_composite.c
@@ -2,6 +2,11 @@
2 * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2 2 * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
3 */ 3 */
4 4
5#ifdef HAVE_CONFIG_H
6# include <config.h>
7#endif
8
9
5#include "ecore_x_private.h" 10#include "ecore_x_private.h"
6#include "Ecore_X.h" 11#include "Ecore_X.h"
7 12
diff --git a/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_cursor.c b/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_cursor.c
index d420a482e5..797b0b821d 100644
--- a/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_cursor.c
+++ b/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_cursor.c
@@ -1,3 +1,13 @@
1/*
2 * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
3 */
4
5#ifdef HAVE_CONFIG_H
6# include <config.h>
7#endif
8
9#include <stdlib.h>
10
1#include "ecore_x_private.h" 11#include "ecore_x_private.h"
2 12
3 13
diff --git a/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_damage.c b/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_damage.c
index 3507ce25cd..d8ce1e1e0b 100644
--- a/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_damage.c
+++ b/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_damage.c
@@ -2,6 +2,11 @@
2 * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2 2 * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
3 */ 3 */
4 4
5#ifdef HAVE_CONFIG_H
6# include <config.h>
7#endif
8
9
5#include "ecore_x_private.h" 10#include "ecore_x_private.h"
6#include "Ecore_X.h" 11#include "Ecore_X.h"
7 12
diff --git a/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_dnd.c b/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_dnd.c
index b84a443340..c2f0659116 100644
--- a/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_dnd.c
+++ b/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_dnd.c
@@ -1,6 +1,14 @@
1/* 1/*
2 * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2 2 * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
3 */ 3 */
4
5#ifdef HAVE_CONFIG_H
6# include <config.h>
7#endif
8
9#include <stdlib.h>
10#include <string.h>
11
4#include "Ecore.h" 12#include "Ecore.h"
5#include "ecore_x_private.h" 13#include "ecore_x_private.h"
6#include "Ecore_X.h" 14#include "Ecore_X.h"
diff --git a/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_dpms.c b/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_dpms.c
index d4dac43deb..b7583bc06c 100644
--- a/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_dpms.c
+++ b/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_dpms.c
@@ -2,6 +2,10 @@
2 * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2 2 * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
3 */ 3 */
4 4
5#ifdef HAVE_CONFIG_H
6# include <config.h>
7#endif
8
5#include "ecore_x_private.h" 9#include "ecore_x_private.h"
6 10
7static int _dpms_available; 11static int _dpms_available;
diff --git a/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_drawable.c b/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_drawable.c
index efc1c9c02e..1da84de654 100644
--- a/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_drawable.c
+++ b/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_drawable.c
@@ -2,6 +2,10 @@
2 * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2 2 * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
3 */ 3 */
4 4
5#ifdef HAVE_CONFIG_H
6# include <config.h>
7#endif
8
5#include "ecore_x_private.h" 9#include "ecore_x_private.h"
6 10
7 11
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 152ce36e50..c6242c7b0a 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
@@ -1,9 +1,15 @@
1/* 1/*
2 * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2 2 * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
3 */ 3 */
4
4/* 5/*
5 * OLD E hints 6 * OLD E hints
6 */ 7 */
8
9#ifdef HAVE_CONFIG_H
10# include <config.h>
11#endif
12
7#include "config.h" 13#include "config.h"
8#include "Ecore.h" 14#include "Ecore.h"
9#include "ecore_x_private.h" 15#include "ecore_x_private.h"
diff --git a/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_error.c b/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_error.c
index 3de31d6015..5b288963ad 100644
--- a/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_error.c
+++ b/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_error.c
@@ -1,3 +1,13 @@
1/*
2 * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
3 */
4
5#ifdef HAVE_CONFIG_H
6# include <config.h>
7#endif
8
9#include <stdlib.h>
10
1#include "ecore_private.h" 11#include "ecore_private.h"
2#include "Ecore.h" 12#include "Ecore.h"
3#include "ecore_x_private.h" 13#include "ecore_x_private.h"
diff --git a/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_events.c b/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_events.c
index 95350f48eb..a27b778bd9 100644
--- a/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_events.c
+++ b/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_events.c
@@ -1,6 +1,13 @@
1/* 1/*
2 * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2 2 * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
3 */ 3 */
4
5#ifdef HAVE_CONFIG_H
6# include <config.h>
7#endif
8
9#include <stdlib.h>
10
4#include <langinfo.h> 11#include <langinfo.h>
5 12
6#include "ecore_private.h" 13#include "ecore_private.h"
diff --git a/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_fixes.c b/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_fixes.c
index d4645a7400..4aeeb61398 100644
--- a/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_fixes.c
+++ b/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_fixes.c
@@ -2,6 +2,12 @@
2 * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2 2 * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
3 */ 3 */
4 4
5#ifdef HAVE_CONFIG_H
6# include <config.h>
7#endif
8
9#include <stdlib.h>
10
5#include "ecore_x_private.h" 11#include "ecore_x_private.h"
6#include "Ecore_X.h" 12#include "Ecore_X.h"
7 13
diff --git a/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_gc.c b/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_gc.c
index 56224f095c..721522df2b 100644
--- a/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_gc.c
+++ b/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_gc.c
@@ -1,3 +1,11 @@
1/*
2 * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
3 */
4
5#ifdef HAVE_CONFIG_H
6# include <config.h>
7#endif
8
1#include "Ecore.h" 9#include "Ecore.h"
2#include "ecore_x_private.h" 10#include "ecore_x_private.h"
3#include "Ecore_X.h" 11#include "Ecore_X.h"
diff --git a/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_icccm.c b/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_icccm.c
index 399ca92d19..4a9d3d661a 100644
--- a/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_icccm.c
+++ b/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_icccm.c
@@ -1,12 +1,20 @@
1/* 1/*
2 * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2 2 * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
3 */ 3 */
4
4/* 5/*
5 * Various ICCCM related functions. 6 * Various ICCCM related functions.
6 * 7 *
7 * This is ALL the code involving anything ICCCM related. for both WM and 8 * This is ALL the code involving anything ICCCM related. for both WM and
8 * client. 9 * client.
9 */ 10 */
11
12#ifdef HAVE_CONFIG_H
13# include <config.h>
14#endif
15
16#include <stdlib.h>
17
10#include "Ecore.h" 18#include "Ecore.h"
11#include "ecore_x_private.h" 19#include "ecore_x_private.h"
12#include "Ecore_X.h" 20#include "Ecore_X.h"
diff --git a/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_mwm.c b/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_mwm.c
index c009c7a038..d4211286db 100644
--- a/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_mwm.c
+++ b/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_mwm.c
@@ -1,9 +1,20 @@
1/* 1/*
2 * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
3 */
4
5/*
2 * Various MWM related functions. 6 * Various MWM related functions.
3 * 7 *
4 * This is ALL the code involving anything MWM related. for both WM and 8 * This is ALL the code involving anything MWM related. for both WM and
5 * client. 9 * client.
6 */ 10 */
11
12#ifdef HAVE_CONFIG_H
13# include <config.h>
14#endif
15
16#include <stdlib.h>
17
7#include "Ecore.h" 18#include "Ecore.h"
8#include "ecore_x_private.h" 19#include "ecore_x_private.h"
9#include "Ecore_X.h" 20#include "Ecore_X.h"
diff --git a/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_netwm.c b/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_netwm.c
index 7cf07e5e1a..b9ed043938 100644
--- a/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_netwm.c
+++ b/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_netwm.c
@@ -1,9 +1,15 @@
1/* 1/*
2 * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2 2 * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
3 */ 3 */
4
4/* 5/*
5 * _NET_WM... aka Extended Window Manager Hint (EWMH) functions. 6 * _NET_WM... aka Extended Window Manager Hint (EWMH) functions.
6 */ 7 */
8
9#ifdef HAVE_CONFIG_H
10# include <config.h>
11#endif
12
7#include "config.h" 13#include "config.h"
8#include "Ecore.h" 14#include "Ecore.h"
9#include "Ecore_Data.h" 15#include "Ecore_Data.h"
diff --git a/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_pixmap.c b/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_pixmap.c
index 99112005b9..4883a3aa87 100644
--- a/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_pixmap.c
+++ b/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_pixmap.c
@@ -1,3 +1,11 @@
1/*
2 * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
3 */
4
5#ifdef HAVE_CONFIG_H
6# include <config.h>
7#endif
8
1#include "Ecore.h" 9#include "Ecore.h"
2#include "ecore_x_private.h" 10#include "ecore_x_private.h"
3#include "Ecore_X.h" 11#include "Ecore_X.h"
diff --git a/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_private.h b/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_private.h
index 4d03466bb3..e2f99709b7 100644
--- a/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_private.h
+++ b/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_private.h
@@ -1,8 +1,6 @@
1#ifndef _ECORE_X_PRIVATE_H 1#ifndef _ECORE_X_PRIVATE_H
2#define _ECORE_X_PRIVATE_H 2#define _ECORE_X_PRIVATE_H
3 3
4#include "config.h"
5
6#include <sys/param.h> 4#include <sys/param.h>
7#ifndef MAXHOSTNAMELEN 5#ifndef MAXHOSTNAMELEN
8#define MAXHOSTNAMELEN 256 6#define MAXHOSTNAMELEN 256
diff --git a/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_randr.c b/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_randr.c
index 350995729d..4fc211e855 100644
--- a/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_randr.c
+++ b/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_randr.c
@@ -2,6 +2,12 @@
2 * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2 2 * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
3 */ 3 */
4 4
5#ifdef HAVE_CONFIG_H
6# include <config.h>
7#endif
8
9#include <stdlib.h>
10
5#include "ecore_x_private.h" 11#include "ecore_x_private.h"
6 12
7EAPI int 13EAPI int
diff --git a/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_screensaver.c b/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_screensaver.c
index 6559cad0f3..9b769fd249 100644
--- a/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_screensaver.c
+++ b/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_screensaver.c
@@ -1,9 +1,15 @@
1/* 1/*
2 * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2 2 * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
3 */ 3 */
4
4/* 5/*
5 * Screensaver code 6 * Screensaver code
6 */ 7 */
8
9#ifdef HAVE_CONFIG_H
10# include <config.h>
11#endif
12
7#include "Ecore.h" 13#include "Ecore.h"
8#include "ecore_x_private.h" 14#include "ecore_x_private.h"
9#include "Ecore_X.h" 15#include "Ecore_X.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 de45c23dbb..b224fc7fb2 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
@@ -1,6 +1,13 @@
1/* 1/*
2 * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2 2 * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
3 */ 3 */
4
5#ifdef HAVE_CONFIG_H
6# include <config.h>
7#endif
8
9#include <stdlib.h>
10
4#include "ecore_private.h" 11#include "ecore_private.h"
5#include "Ecore.h" 12#include "Ecore.h"
6#include "ecore_x_private.h" 13#include "ecore_x_private.h"
diff --git a/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_sync.c b/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_sync.c
index feaaa272d3..e66fb15ed8 100644
--- a/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_sync.c
+++ b/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_sync.c
@@ -1,9 +1,15 @@
1/* 1/*
2 * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2 2 * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
3 */ 3 */
4
4/* 5/*
5 * XSync code 6 * XSync code
6 */ 7 */
8
9#ifdef HAVE_CONFIG_H
10# include <config.h>
11#endif
12
7#include "Ecore.h" 13#include "Ecore.h"
8#include "ecore_x_private.h" 14#include "ecore_x_private.h"
9#include "Ecore_X.h" 15#include "Ecore_X.h"
diff --git a/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_test.c b/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_test.c
index 427d23c430..55469e5a8b 100644
--- a/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_test.c
+++ b/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_test.c
@@ -2,6 +2,16 @@
2 * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2 2 * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
3 */ 3 */
4 4
5#ifdef HAVE_CONFIG_H
6# include <config.h>
7#endif
8
9#include <stdlib.h>
10
11#ifdef ECORE_XTEST
12# include <X11/extensions/XTest.h>
13#endif
14
5#include "ecore_x_private.h" 15#include "ecore_x_private.h"
6#include "Ecore_X.h" 16#include "Ecore_X.h"
7 17
diff --git a/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_window.c b/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_window.c
index 517fcac706..61fadb6b0a 100644
--- a/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_window.c
+++ b/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_window.c
@@ -1,6 +1,13 @@
1/* 1/*
2 * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2 2 * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
3 */ 3 */
4
5#ifdef HAVE_CONFIG_H
6# include <config.h>
7#endif
8
9#include <stdlib.h>
10
4#include "Ecore.h" 11#include "Ecore.h"
5#include "ecore_x_private.h" 12#include "ecore_x_private.h"
6#include "Ecore_X.h" 13#include "Ecore_X.h"
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 60816800fd..2d25ce5475 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
@@ -1,6 +1,13 @@
1/* 1/*
2 * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2 2 * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
3 */ 3 */
4
5#ifdef HAVE_CONFIG_H
6# include <config.h>
7#endif
8
9#include <stdlib.h>
10
4#include "Ecore.h" 11#include "Ecore.h"
5#include "ecore_x_private.h" 12#include "ecore_x_private.h"
6#include "Ecore_X.h" 13#include "Ecore_X.h"
diff --git a/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_window_shape.c b/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_window_shape.c
index 2e30587e3d..ca927260d3 100644
--- a/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_window_shape.c
+++ b/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_window_shape.c
@@ -1,3 +1,13 @@
1/*
2 * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
3 */
4
5#ifdef HAVE_CONFIG_H
6# include <config.h>
7#endif
8
9#include <stdlib.h>
10
1#include "Ecore.h" 11#include "Ecore.h"
2#include "ecore_x_private.h" 12#include "ecore_x_private.h"
3#include "Ecore_X.h" 13#include "Ecore_X.h"
diff --git a/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_xinerama.c b/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_xinerama.c
index 4c7353d4a9..5be0b16f89 100644
--- a/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_xinerama.c
+++ b/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_xinerama.c
@@ -1,9 +1,15 @@
1/* 1/*
2 * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2 2 * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
3 */ 3 */
4
4/* 5/*
5 * Xinerama code 6 * Xinerama code
6 */ 7 */
8
9#ifdef HAVE_CONFIG_H
10# include <config.h>
11#endif
12
7#include "Ecore.h" 13#include "Ecore.h"
8#include "ecore_x_private.h" 14#include "ecore_x_private.h"
9#include "Ecore_X.h" 15#include "Ecore_X.h"