From 5724f5b257d651f291c8aae2a6473c7254c6eef9 Mon Sep 17 00:00:00 2001 From: Daniel Juyung Seo Date: Thu, 16 Jun 2011 15:11:30 +0000 Subject: [PATCH] ecore ecore_x_test.c: Fixed warnings. SVN revision: 60396 --- legacy/ecore/src/lib/ecore_x/xlib/ecore_x_test.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_test.c b/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_test.c index b4335d1b82..da64bb7055 100644 --- a/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_test.c +++ b/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_test.c @@ -13,7 +13,11 @@ #include EAPI Eina_Bool +#ifdef ECORE_XTEST ecore_x_test_fake_key_down(const char *key) +#else +ecore_x_test_fake_key_down(const char *key __UNUSED__) +#endif { #ifdef ECORE_XTEST KeyCode keycode = 0; @@ -41,7 +45,11 @@ ecore_x_test_fake_key_down(const char *key) } /* ecore_x_test_fake_key_down */ EAPI Eina_Bool +#ifdef ECORE_XTEST ecore_x_test_fake_key_up(const char *key) +#else +ecore_x_test_fake_key_up(const char *key __UNUSED__) +#endif { #ifdef ECORE_XTEST KeyCode keycode = 0; @@ -69,7 +77,11 @@ ecore_x_test_fake_key_up(const char *key) } /* ecore_x_test_fake_key_up */ EAPI Eina_Bool +#ifdef ECORE_XTEST ecore_x_test_fake_key_press(const char *key) +#else +ecore_x_test_fake_key_press(const char *key __UNUSED__) +#endif { #ifdef ECORE_XTEST KeyCode keycode = 0;