From e2ba9a34b902f47ee12595dc276ae46cf0dc04cb Mon Sep 17 00:00:00 2001 From: Sebastian Dransfeld Date: Fri, 22 Jan 2010 20:00:07 +0000 Subject: [PATCH] Add EINTERN All functions not static in modules should be EINTERN, exepect e_modapi_* SVN revision: 45446 --- src/bin/e.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/bin/e.h b/src/bin/e.h index d057840ae..17705f28a 100644 --- a/src/bin/e.h +++ b/src/bin/e.h @@ -123,6 +123,19 @@ void *alloca (size_t); # endif #endif +#ifdef EINTERN +#undef EINTERN +#endif +#ifdef __GNUC__ +# if __GNUC__ >= 4 +# define EINTERN __attribute__ ((visibility("hidden"))) +# else +# define EINTERN +# endif +#else +# define EINTERN +#endif + typedef struct _E_Before_Idler E_Before_Idler; typedef struct _E_Rect E_Rect;