Enlightenment CVS committal

Author  : doursse
Project : e17
Module  : libs/edje

Dir     : e17/libs/edje/src/bin


Modified Files:
        edje_cc_mem.c edje_decc.c edje_decc.h edje_main.h 


Log Message:
reorganize header files inclusion. Fix some problems when compiling on Windows

===================================================================
RCS file: /cvs/e/e17/libs/edje/src/bin/edje_cc_mem.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- edje_cc_mem.c       24 Mar 2008 08:22:00 -0000      1.2
+++ edje_cc_mem.c       7 Jun 2008 10:06:13 -0000       1.3
@@ -1,3 +1,7 @@
+/*
+ * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
+ */
+
 #include "edje_cc.h"
 
 void *
===================================================================
RCS file: /cvs/e/e17/libs/edje/src/bin/edje_decc.c,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -3 -r1.26 -r1.27
--- edje_decc.c 6 Jun 2008 18:31:48 -0000       1.26
+++ edje_decc.c 7 Jun 2008 10:06:13 -0000       1.27
@@ -3,10 +3,10 @@
  */
 
 /* ugly ugly. avert your eyes. */
-#include <sys/types.h>
-#include <dirent.h>
-#include <sys/stat.h>
-#include <unistd.h>
+
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
 
 #include <Ecore_File.h>
 
===================================================================
RCS file: /cvs/e/e17/libs/edje/src/bin/edje_decc.h,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -3 -r1.5 -r1.6
--- edje_decc.h 24 Mar 2008 08:22:00 -0000      1.5
+++ edje_decc.h 7 Jun 2008 10:06:13 -0000       1.6
@@ -3,17 +3,6 @@
 
 #include "edje_main.h"
 
-#include <stdio.h>
-#include <stdlib.h>
-#include <unistd.h>
-#include <fcntl.h>
-#include <errno.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include <stdarg.h>
-#include <locale.h>
-#include <ctype.h>
-
 /* types */
 typedef struct _Font                  Font;
 typedef struct _Font_List             Font_List;
===================================================================
RCS file: /cvs/e/e17/libs/edje/src/bin/edje_main.h,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -3 -r1.11 -r1.12
--- edje_main.h 6 Jun 2008 18:31:48 -0000       1.11
+++ edje_main.h 7 Jun 2008 10:06:13 -0000       1.12
@@ -2,48 +2,16 @@
 #define EDJE_MAIN_H
 
 
-#include <stdio.h>
-#include <stdlib.h>
-#include <unistd.h>
-#include <fcntl.h>
-#include <errno.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include <sys/mman.h>
-#include <stdarg.h>
-#include <locale.h>
-#include <ctype.h>
-
 #ifdef HAVE_CONFIG_H
 # include <config.h>
 #endif
 
-#ifdef HAVE_EVIL
-# include <Evil.h>
-#endif
+#include <fcntl.h>
+#include <stdarg.h>
+#include <ctype.h>
+#include <sys/mman.h>
 
-#include <Evas.h>
-#include <Ecore.h>
 #include <Ecore_Evas.h>
-#include <Eet.h>
-#include "Edje.h"
-
-#ifdef HAVE_ALLOCA_H
-# include <alloca.h>
-#elif defined __GNUC__
-# define alloca __builtin_alloca
-#elif defined _AIX
-# define alloca __alloca
-#elif defined _MSC_VER
-# include <malloc.h>
-# define alloca _alloca
-#else
-# include <stddef.h>
-# ifdef  __cplusplus
-extern "C"
-# endif
-void *alloca (size_t);
-#endif
 
 #include "edje_private.h"
 #include "edje_prefix.h"



-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to