summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>2008-03-16 17:30:30 -0300
committerJulien Cristau <jcristau@debian.org>2008-10-22 21:24:42 +0200
commit3ca0bb9c461c7f96104dacb2b9147d2576c2cada (patch)
treeeef9fc7b65281fb73a117fa4c7a3b99da6a2bb0c
parent6fd22b01352ba54f2e805505f4d336c2740a3598 (diff)
Bug#15069: Compile warning fixes.
Declare some functions as static and include clientwin.h to ensure prototype and definition match. Signed-off-by: Julien Cristau <jcristau@debian.org>
-rw-r--r--clientwin.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/clientwin.c b/clientwin.c
index 808adec..cce35ad 100644
--- a/clientwin.c
+++ b/clientwin.c
@@ -22,6 +22,8 @@
#include <X11/Xatom.h>
#include <X11/Xlib.h>
+#include "clientwin.h"
+
static Atom atom_wm_state = None;
/*
@@ -68,7 +70,7 @@ Window_Is_Viewable(Display * dpy, Window win)
* Children are searched in top-down stacking order.
* The first matching window is returned, None if no match is found.
*/
-Window
+static Window
Find_Client_In_Children(Display * dpy, Window win)
{
Window root, parent;
@@ -114,7 +116,7 @@ Find_Client_In_Children(Display * dpy, Window win)
/*
* Find virtual roots (_NET_VIRTUAL_ROOTS)
*/
-unsigned long *
+static unsigned long *
Find_Roots(Display * dpy, Window root, unsigned int *num)
{
Atom type_ret;