diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2009-09-18 11:35:47 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2009-09-21 09:17:56 +1000 |
commit | aa71e268f55ac39351814ab6840196c4f58bad39 (patch) | |
tree | e55b7291e515c97c4b6c9209cbe30310c210bb05 | |
parent | 00dfe69aab786ea650b41dfefc031f0e0fc72b0c (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>
-rw-r--r-- | Xext/bigreq.c | 2 | ||||
-rw-r--r-- | Xext/syncsrv.h | 1 | ||||
-rw-r--r-- | Xext/xcmisc.c | 2 |
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) { |