forked from enlightenment/enlightenment
Add EINTERN
All functions not static in modules should be EINTERN, exepect e_modapi_* SVN revision: 45446
This commit is contained in:
parent
62b8ceb7c7
commit
e2ba9a34b9
13
src/bin/e.h
13
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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue