diff options
author | Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> | 2009-01-15 14:27:14 -0200 |
---|---|---|
committer | Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> | 2009-01-15 14:27:14 -0200 |
commit | a42690b24d828ec4cfae1bf40cac08f07c6202af (patch) | |
tree | 0086370a56c2e48e472c1810d2dfa17d054abdd4 /clientwin.c | |
parent | 67a74f540cdbb7ded7aa44c751f5f0c8833c688f (diff) |
Ansification and compile warning fixes.
This also uses XORG_CHANGELOG and XORG_CWARNFLAGS, corrects
make distcheck and most gcc 4.3 and sparse warnings.
Diffstat (limited to 'clientwin.c')
-rw-r--r-- | 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 <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; |