ecore ecore_x_test.c: Fixed warnings.
authorseoz <seoz@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Thu, 16 Jun 2011 15:11:30 +0000 (15:11 +0000)
committerseoz <seoz@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Thu, 16 Jun 2011 15:11:30 +0000 (15:11 +0000)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@60396 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/ecore_x/xlib/ecore_x_test.c

index b4335d1..da64bb7 100644 (file)
 #include <string.h>
 
 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;