diff options
author | Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> | 2009-01-15 15:43:08 -0200 |
---|---|---|
committer | Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> | 2009-01-15 15:43:08 -0200 |
commit | 5d82f32cac19af013c48d01b66aa9f14add30f42 (patch) | |
tree | 7805731f25966892f4d23e395e8b99345bd60577 /clientwin.c | |
parent | a27df6ee496a1b2df678242cf514490924f44027 (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; |