From 5ba10bb3854fb12946a1ed154140374dfcefa253 Mon Sep 17 00:00:00 2001 From: Carsten Haitzler Date: Fri, 6 Jan 2006 13:56:47 +0000 Subject: [PATCH] symbol hiding fixes SVN revision: 19556 --- legacy/ecore/src/lib/ecore/ecore.c | 4 ++-- legacy/ecore/src/lib/ecore/ecore_exe.c | 5 ++--- legacy/ecore/src/lib/ecore/ecore_main.c | 6 +++--- legacy/ecore/src/lib/ecore/ecore_plugin.c | 5 ++--- legacy/ecore/src/lib/ecore/ecore_signal.c | 6 ++---- legacy/ecore/src/lib/ecore/ecore_time.c | 21 +++++++++++---------- 6 files changed, 22 insertions(+), 25 deletions(-) diff --git a/legacy/ecore/src/lib/ecore/ecore.c b/legacy/ecore/src/lib/ecore/ecore.c index 3e6b2a8073..e658a3923a 100644 --- a/legacy/ecore/src/lib/ecore/ecore.c +++ b/legacy/ecore/src/lib/ecore/ecore.c @@ -1,7 +1,7 @@ -#include "ecore_private.h" -#include "Ecore.h" #include #include +#include "ecore_private.h" +#include "Ecore.h" static const char *_ecore_magic_string_get(Ecore_Magic m); static int _ecore_init_count = 0; diff --git a/legacy/ecore/src/lib/ecore/ecore_exe.c b/legacy/ecore/src/lib/ecore/ecore_exe.c index 51a9ae6fa1..abee9b21a3 100644 --- a/legacy/ecore/src/lib/ecore/ecore_exe.c +++ b/legacy/ecore/src/lib/ecore/ecore_exe.c @@ -1,8 +1,7 @@ -#include "ecore_private.h" -#include "Ecore.h" - #include #include +#include "ecore_private.h" +#include "Ecore.h" #ifndef WIN32 diff --git a/legacy/ecore/src/lib/ecore/ecore_main.c b/legacy/ecore/src/lib/ecore/ecore_main.c index ccb3d4329d..2c94c9200d 100644 --- a/legacy/ecore/src/lib/ecore/ecore_main.c +++ b/legacy/ecore/src/lib/ecore/ecore_main.c @@ -1,10 +1,10 @@ -#include "ecore_private.h" -#include "Ecore.h" - #ifdef WIN32 #include #endif +#include "ecore_private.h" +#include "Ecore.h" + #define FIX_HZ 1 #include diff --git a/legacy/ecore/src/lib/ecore/ecore_plugin.c b/legacy/ecore/src/lib/ecore/ecore_plugin.c index 37442c0208..e4efd71cea 100644 --- a/legacy/ecore/src/lib/ecore/ecore_plugin.c +++ b/legacy/ecore/src/lib/ecore/ecore_plugin.c @@ -1,8 +1,7 @@ -#include "ecore_private.h" -#include "Ecore_Data.h" - #ifndef WIN32 #include +#include "ecore_private.h" +#include "Ecore_Data.h" static Ecore_List *loaded_plugins = NULL; diff --git a/legacy/ecore/src/lib/ecore/ecore_signal.c b/legacy/ecore/src/lib/ecore/ecore_signal.c index 3d7a1f4e45..6891285fa3 100644 --- a/legacy/ecore/src/lib/ecore/ecore_signal.c +++ b/legacy/ecore/src/lib/ecore/ecore_signal.c @@ -1,13 +1,11 @@ -#include "ecore_private.h" -#include "Ecore.h" - #ifndef WIN32 - #include #include #include #include #include +#include "ecore_private.h" +#include "Ecore.h" /* make mono happy - this is evil though... */ #undef SIGPWR diff --git a/legacy/ecore/src/lib/ecore/ecore_time.c b/legacy/ecore/src/lib/ecore/ecore_time.c index 969f50848a..d82b74054b 100644 --- a/legacy/ecore/src/lib/ecore/ecore_time.c +++ b/legacy/ecore/src/lib/ecore/ecore_time.c @@ -1,28 +1,29 @@ +#include +#ifdef WIN32 +#include +#endif #include "ecore_private.h" #include "Ecore.h" -#include - #ifndef HAVE_GETTIMEOFDAY #ifdef WIN32 -#include -static int gettimeofday (struct timeval *tv, void *unused) +static int +gettimeofday(struct timeval *tv, void *unused) { struct _timeb t; - - if (!tv) - return -1; + + if (!tv) return -1; _ftime (&t); - + tv->tv_sec = t.time; tv->tv_usec = t.millitm * 1000; - + return 0; } #else -#error "Your platform isn't supported yet" +# error "Your platform isn't supported yet" #endif #endif