From 841cd6499f53b5a084018efd95c4efc1146cc690 Mon Sep 17 00:00:00 2001 From: Paulo Cesar Pereira de Andrade Date: Sun, 16 Mar 2008 17:30:30 -0300 Subject: [PATCH] Compile warning fixes. Declare some functions as static and include clientwin.h to ensure prototype and defintion match. --- clientwin.c | 6 ++++-- 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 #include +#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; -- 1.5.3.2