Don't declare static functions if they are not used.
authorenglebass <englebass@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sun, 26 Oct 2008 19:56:38 +0000 (19:56 +0000)
committerenglebass <englebass@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sun, 26 Oct 2008 19:56:38 +0000 (19:56 +0000)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@37165 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/ecore_evas/ecore_evas_wince.c

index 2e1084d..61d0584 100644 (file)
@@ -833,19 +833,13 @@ _ecore_evas_wince_fullscreen_set(Ecore_Evas *ee, int on)
 /*    else */
 /*      _ecore_evas_wince_state_update(ee); */
 }
-#endif /* BUILD_ECORE_EVAS_SOFTWARE_16_WINCE */
 
 static void *
 _ecore_evas_wince_window_get(Ecore_Evas *ee)
 {
-#ifdef BUILD_ECORE_EVAS_SOFTWARE_16_WINCE
    return ee->engine.wince.window;
-#else
-   return NULL;
-#endif /* BUILD_ECORE_EVAS_SOFTWARE_16_WINCE */
 }
 
-#ifdef BUILD_ECORE_EVAS_SOFTWARE_16_WINCE
 static const Ecore_Evas_Engine_Func _ecore_wince_engine_func =
 {
    _ecore_evas_wince_free,
@@ -896,12 +890,8 @@ static const Ecore_Evas_Engine_Func _ecore_wince_engine_func =
      _ecore_evas_wince_window_get
 };
 
-#endif /* BUILD_ECORE_EVAS_SOFTWARE_16_WINCE */
-
 /* API */
 
-
-#ifdef BUILD_ECORE_EVAS_SOFTWARE_16_WINCE
 static Ecore_Evas *
 ecore_evas_software_wince_new_internal(int                 backend,
                                        Ecore_WinCE_Window *parent,