summaryrefslogtreecommitdiff
path: root/Xext
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2009-09-18 11:35:47 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2009-09-21 09:17:56 +1000
commitaa71e268f55ac39351814ab6840196c4f58bad39 (patch)
treee55b7291e515c97c4b6c9209cbe30310c210bb05 /Xext
parent00dfe69aab786ea650b41dfefc031f0e0fc72b0c (diff)
Xext: silence 'warning: no previous prototype' for sync, bigreq and xcmisc.
xcmisc and bigreq don't have their own header so just declare it here to shut up the compiler. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'Xext')
-rw-r--r--Xext/bigreq.c2
-rw-r--r--Xext/syncsrv.h1
-rw-r--r--Xext/xcmisc.c2
3 files changed, 5 insertions, 0 deletions
diff --git a/Xext/bigreq.c b/Xext/bigreq.c
index 582b670b0..f9f15edc5 100644
--- a/Xext/bigreq.c
+++ b/Xext/bigreq.c
@@ -42,6 +42,8 @@ from The Open Group.
static DISPATCH_PROC(ProcBigReqDispatch);
+void BigReqExtensionInit(INITARGS);
+
void
BigReqExtensionInit(INITARGS)
{
diff --git a/Xext/syncsrv.h b/Xext/syncsrv.h
index 00e0bda50..6d0e3d64a 100644
--- a/Xext/syncsrv.h
+++ b/Xext/syncsrv.h
@@ -173,4 +173,5 @@ extern void SyncDestroySystemCounter(
);
extern void InitServertime(void);
+extern void SyncExtensionInit(void);
#endif /* _SYNCSRV_H_ */
diff --git a/Xext/xcmisc.c b/Xext/xcmisc.c
index f644cb458..39079a294 100644
--- a/Xext/xcmisc.c
+++ b/Xext/xcmisc.c
@@ -55,6 +55,8 @@ static DISPATCH_PROC(SProcXCMiscGetVersion);
static DISPATCH_PROC(SProcXCMiscGetXIDList);
static DISPATCH_PROC(SProcXCMiscGetXIDRange);
+void XCMiscExtensionInit(INITARGS);
+
void
XCMiscExtensionInit(INITARGS)
{