ecore-wayland: Move external variable below structure
authorChris Michael <cp.michael@samsung.com>
Wed, 17 Sep 2014 12:05:42 +0000 (08:05 -0400)
committerChris Michael <cp.michael@samsung.com>
Wed, 17 Sep 2014 12:05:42 +0000 (08:05 -0400)
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>
src/lib/ecore_wayland/ecore_wl_private.h

index 2c8059c..3226253 100644 (file)
 #  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);