summaryrefslogtreecommitdiff
path: root/Xext
diff options
context:
space:
mode:
authorJulien Cristau <jcristau@debian.org>2008-10-26 11:05:13 +0100
committerJulien Cristau <jcristau@debian.org>2008-10-26 11:43:48 +0100
commitf2bda61c03f64133ef68dd1557b26ae7dc5beb0e (patch)
treea52d518ecbf57f33b90a82969fa10f09c8601a89 /Xext
parent24e863b0eb6ff11010a14cfd252a39df87a09d0e (diff)
Xext: Fix compiler warnings
Make GEClientGone static and include registry.h, to fix the following warnings: geext.c:225: warning: no previous prototype for 'GEClientGone' geext.c: In function 'GEExtensionInit': geext.c:280: warning: implicit declaration of function 'RegisterResourceName' geext.c:280: warning: nested extern declaration of 'RegisterResourceName'
Diffstat (limited to 'Xext')
-rw-r--r--Xext/geext.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/Xext/geext.c b/Xext/geext.c
index 8de4e7cb1..a58db038e 100644
--- a/Xext/geext.c
+++ b/Xext/geext.c
@@ -28,6 +28,7 @@
#endif
#include "windowstr.h"
#include <X11/extensions/ge.h>
+#include "registry.h"
#include "geint.h"
#include "geext.h"
@@ -220,7 +221,7 @@ SGEGenericEvent(xEvent* from, xEvent* to)
* Resource callback, invoked when the client disconnects and the associated
* GE masks must be destroyed.
*/
-int
+static int
GEClientGone(WindowPtr pWin, XID id)
{
GenericClientMasksPtr gclmask;