---
 src/actions.c |   10 +++++++---
 src/actions.h |    1 -
 2 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/src/actions.c b/src/actions.c
index 52b4fc9..c308ed0 100644
--- a/src/actions.c
+++ b/src/actions.c
@@ -91,6 +91,12 @@ static int compareTimes(Time t1, Time t2)
        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--
@@ -1834,6 +1840,4 @@ static void shade_animate(WWindow *wwin, Bool what)
                break;
        }
 }
-#else
-static void shade_animate(WWindow *wwin, Bool what) { return; }
-#endif /* ANIMATIONS */
+#endif
diff --git a/src/actions.h b/src/actions.h
index 8ad0c16..382cb21 100644
--- a/src/actions.h
+++ b/src/actions.h
@@ -39,7 +39,6 @@ int wKeyboardMoveResizeWindow(WWindow *wwin);
 
 void wMouseResizeWindow(WWindow *wwin, XEvent *ev);
 
-static void shade_animate(WWindow *wwin, Bool what);
 void wShadeWindow(WWindow *wwin);
 void wUnshadeWindow(WWindow *wwin);
 
-- 
1.6.6.rc0.61.g41d5b


-- 
To unsubscribe, send mail to [email protected].

Reply via email to