1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-21 21:38:00 +01:00

Remove static function declaration from header file

This commit is contained in:
Carlos R. Mafra
2009-12-09 20:39:21 +01:00
parent 0a5febcada
commit 33c9e87692
2 changed files with 7 additions and 4 deletions

View File

@@ -91,6 +91,12 @@ static int compareTimes(Time t1, Time t2)
return (diff < 60000) ? 1 : -1; return (diff < 60000) ? 1 : -1;
} }
#ifdef ANIMATIONS
static void shade_animate(WWindow *wwin, Bool what);
#else
static void shade_animate(WWindow *wwin, Bool what) { }
#endif
/* /*
*---------------------------------------------------------------------- *----------------------------------------------------------------------
* wSetFocusTo-- * wSetFocusTo--
@@ -1834,6 +1840,4 @@ static void shade_animate(WWindow *wwin, Bool what)
break; break;
} }
} }
#else #endif
static void shade_animate(WWindow *wwin, Bool what) { return; }
#endif /* ANIMATIONS */

View File

@@ -39,7 +39,6 @@ int wKeyboardMoveResizeWindow(WWindow *wwin);
void wMouseResizeWindow(WWindow *wwin, XEvent *ev); void wMouseResizeWindow(WWindow *wwin, XEvent *ev);
static void shade_animate(WWindow *wwin, Bool what);
void wShadeWindow(WWindow *wwin); void wShadeWindow(WWindow *wwin);
void wUnshadeWindow(WWindow *wwin); void wUnshadeWindow(WWindow *wwin);