forked from enlightenment/efl
ecore-wayland: Move external variable below structure
This commit moves the typedef struct to just above the structure, and moves the external variable below the structure definition. No real functional changes, just some cleanup. Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
parent
eff3c8000b
commit
7db6f1c198
|
@ -21,10 +21,7 @@
|
|||
# define LOGFN(fl, ln, fn)
|
||||
# endif
|
||||
|
||||
typedef struct _Ecore_Wl_Display Ecore_Wl_Display;
|
||||
|
||||
extern int _ecore_wl_log_dom;
|
||||
extern Ecore_Wl_Display *_ecore_wl_disp;
|
||||
|
||||
# ifdef ECORE_WL_DEFAULT_LOG_COLOR
|
||||
# undef ECORE_WL_DEFAULT_LOG_COLOR
|
||||
|
@ -56,6 +53,7 @@ extern Ecore_Wl_Display *_ecore_wl_disp;
|
|||
# endif
|
||||
# define CRI(...) EINA_LOG_DOM_CRIT(_ecore_wl_log_dom, __VA_ARGS__)
|
||||
|
||||
typedef struct _Ecore_Wl_Display Ecore_Wl_Display;
|
||||
|
||||
struct _Ecore_Wl_Display
|
||||
{
|
||||
|
@ -260,6 +258,8 @@ struct _Ecore_Wl_Dnd_Target
|
|||
Ecore_Wl_Dnd_Source *source;
|
||||
};
|
||||
|
||||
extern Ecore_Wl_Display *_ecore_wl_disp;
|
||||
|
||||
void _ecore_wl_window_init(void);
|
||||
void _ecore_wl_window_shutdown(void);
|
||||
Eina_Hash *_ecore_wl_window_hash_get(void);
|
||||
|
|
Loading…
Reference in New Issue