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'
This commit is contained in:
parent
24e863b0eb
commit
f2bda61c03
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue