summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2014-09-17 08:05:42 -0400
committerChris Michael <cp.michael@samsung.com>2014-09-17 08:05:42 -0400
commit7db6f1c198b741133d0026ae3089906ca41f2980 (patch)
tree0074954a969766d29ad9eb208d2a5b0f53dabc53
parenteff3c8000b258e01011bb1978bb21d7ab197444b (diff)
downloadefl-7db6f1c198b741133d0026ae3089906ca41f2980.tar.gz
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>
-rw-r--r--src/lib/ecore_wayland/ecore_wl_private.h6
1 files 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);