From 7db6f1c198b741133d0026ae3089906ca41f2980 Mon Sep 17 00:00:00 2001 From: Chris Michael Date: Wed, 17 Sep 2014 08:05:42 -0400 Subject: [PATCH] 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 --- src/lib/ecore_wayland/ecore_wl_private.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/lib/ecore_wayland/ecore_wl_private.h b/src/lib/ecore_wayland/ecore_wl_private.h index 2c8059c3a5..3226253072 100644 --- a/src/lib/ecore_wayland/ecore_wl_private.h +++ b/src/lib/ecore_wayland/ecore_wl_private.h @@ -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);