move header files from embryo_private.h to source files
authorcaro <caro@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Tue, 21 Oct 2008 08:40:54 +0000 (08:40 +0000)
committercaro <caro@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Tue, 21 Oct 2008 08:40:54 +0000 (08:40 +0000)
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/embryo@36915 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/embryo_amx.c
src/lib/embryo_args.c
src/lib/embryo_float.c
src/lib/embryo_main.c
src/lib/embryo_private.h
src/lib/embryo_rand.c
src/lib/embryo_str.c
src/lib/embryo_time.c

index 8b4325c..9ae5929 100644 (file)
  * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
  */
 
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
+#include <stdlib.h>
+#include <stdio.h>
+#include <string.h>
+
+#include "Embryo.h"
 #include "embryo_private.h"
 
+
 #define JUMPABS(base, ip)     ((Embryo_Cell *)(code + (*ip)))
 
 #ifdef WORDS_BIGENDIAN
index b7456f4..cdf4940 100644 (file)
@@ -2,6 +2,28 @@
  * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
  */
 
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
+#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 "Embryo.h"
 #include "embryo_private.h"
 
 #define STRSET(ep, par, str) { \
index af241b6..f69ecd0 100644 (file)
  * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
  */
 
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
+#include <stdlib.h>
 #include <math.h>
+
+#include "Embryo.h"
 #include "embryo_private.h"
 
 #define PI  3.1415926535897932384626433832795
index 48f5ba8..69da2cc 100644 (file)
@@ -2,9 +2,16 @@
  * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
  */
 
-#include "embryo_private.h"
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
+#include <stdlib.h>
 #include <time.h>
 
+#include "Embryo.h"
+#include "embryo_private.h"
+
 static int _embryo_init_count = 0;
 
 /*** EXPORTED CALLS ***/
index a88cd26..a4f4d57 100644 (file)
@@ -1,38 +1,9 @@
 #ifndef _EMBRYO_PRIVATE_H
 #define _EMBRYO_PRIVATE_H
 
-#include <stdio.h>
-#include <stdlib.h>
-#include <sys/types.h>
-#include <unistd.h>
-#include <limits.h>
-#include <stdarg.h>
-#include <string.h>
-
-#ifdef HAVE_CONFIG_H
-# include "config.h"
-#endif
-
-#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 <eina_types.h>
 
-#include "Embryo.h"
 
 #ifdef __GNUC__
 # if __GNUC__ >= 4
index 16025b7..a759077 100644 (file)
@@ -2,6 +2,13 @@
  * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
  */
 
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
+#include <stdlib.h>
+
+#include "Embryo.h"
 #include "embryo_private.h"
 
 /* exported random number api */
index 2ed03c7..8781cfd 100644 (file)
@@ -2,9 +2,18 @@
  * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
  */
 
-#include "embryo_private.h"
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
+#include <stdlib.h>
+#include <stdio.h>
+#include <string.h>
 #include <fnmatch.h>
 
+#include "Embryo.h"
+#include "embryo_private.h"
+
 #define STRGET(ep, str, par) { \
    Embryo_Cell *___cptr; \
    str = NULL; \
index a05441e..97c28f1 100644 (file)
@@ -2,14 +2,20 @@
  * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
  */
 
-#include "embryo_private.h"
-#include <sys/time.h>
-#include <time.h>
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
 
 #ifndef HAVE_GETTIMEOFDAY
 # error "Your platform isn't supported yet"
 #endif
 
+#include <sys/time.h>
+#include <time.h>
+
+#include "Embryo.h"
+#include "embryo_private.h"
+
 /* exported time api */
 
 static Embryo_Cell