Patch fixes following warnings:

 * QA Notice: Package triggers severe warnings which indicate that it
 *            may exhibit random runtime failures.
 * actions.c:209:3: warning: implicit declaration of function 
‘wUserMenuRefreshInstances’ [-Wimplicit-function-declaration]
 * usermenu.c:168:4: warning: implicit declaration of function 
‘wXModifierFromKey’ [-Wimplicit-function-declaration]

 * Please do not file a Gentoo bug and instead report the above QA
 * issues directly to the upstream developers of this software.
 * Homepage: http://www.windowmaker.org/

Amadeusz
>From 024dff1d5079e31848d0f2fc15e2be3e19cfd681 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Amadeusz=20S=C5=82awi=C5=84ski?= <[email protected]>
Date: Sun, 3 Jun 2012 18:42:16 +0200
Subject: [PATCH] Fix "implicit declaration of function"

---
 src/actions.c  |    1 +
 src/usermenu.c |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/actions.c b/src/actions.c
index 4cf1f3d..61be535 100644
--- a/src/actions.c
+++ b/src/actions.c
@@ -45,6 +45,7 @@
 #include "winspector.h"
 #include "workspace.h"
 #include "xinerama.h"
+#include "usermenu.h"
 
 /****** Global Variables ******/
 
diff --git a/src/usermenu.c b/src/usermenu.c
index b81e3c8..22d089f 100644
--- a/src/usermenu.c
+++ b/src/usermenu.c
@@ -74,6 +74,7 @@
 #include "actions.h"
 #include "funcs.h"
 #include "keybind.h"
+#include "xmodifier.h"
 
 #include "framewin.h"
 
-- 
1.7.8.6

Reply via email to