ecore_wayland: Making _ecore_wl_shutdown return int instead of EINA_BOOL.
authorSrivardhan Hebbar <sri.hebbar@samsung.com>
Thu, 23 Oct 2014 14:40:39 +0000 (10:40 -0400)
committerChris Michael <cp.michael@samsung.com>
Thu, 23 Oct 2014 14:41:06 +0000 (10:41 -0400)
Summary:
_ecore_wl_shutdown should return int instead of EINA_BOOL. So changing the function prototype.

@fix

Signed-off-by: Srivardhan Hebbar <sri.hebbar@samsung.com>
Reviewers: devilhorns

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D1574

src/lib/ecore_wayland/ecore_wl.c

index c9a81ca..9699a79 100644 (file)
@@ -20,7 +20,7 @@
 #define XDG_VERSION 4
 
 /* local function prototypes */
-static Eina_Bool _ecore_wl_shutdown(Eina_Bool close);
+static int _ecore_wl_shutdown(Eina_Bool close);
 static Eina_Bool _ecore_wl_cb_idle_enterer(void *data);
 static Eina_Bool _ecore_wl_cb_handle_data(void *data, Ecore_Fd_Handler *hdl);
 static void _ecore_wl_cb_handle_global(void *data, struct wl_registry *registry, unsigned int id, const char *interface, unsigned int version EINA_UNUSED);
@@ -443,7 +443,7 @@ ecore_wl_server_mode_set(Eina_Bool on)
 }
 
 /* local functions */
-static Eina_Bool
+static int
 _ecore_wl_shutdown(Eina_Bool close)
 {
    LOGFN(__FILE__, __LINE__, __FUNCTION__);