Commit f2bda61c authored by Julien Cristau's avatar Julien Cristau

Xext: Fix compiler warnings

Make GEClientGone static and include registry.h, to fix the following
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'
parent 24e863b0
......@@ -28,6 +28,7 @@
#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.
static int
GEClientGone(WindowPtr pWin, XID id)
GenericClientMasksPtr gclmask;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment