[PATCH 6/9] xcmisc: warning fix

Daniel Stone daniel at fooishbar.org
Thu Dec 30 18:00:20 PST 2010


From: Adam Jackson <ajax at redhat.com>

xcmisc.c:202: warning: no previous prototype for ‘XCMiscExtensionInit’

Signed-off-by: Adam Jackson <ajax at redhat.com>
Reviewed-by: Daniel Stone <daniel at fooishbar.org>
---
 hw/xfree86/dixmods/extmod/modinit.h |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/hw/xfree86/dixmods/extmod/modinit.h b/hw/xfree86/dixmods/extmod/modinit.h
index 1154e46..5bbbb88 100644
--- a/hw/xfree86/dixmods/extmod/modinit.h
+++ b/hw/xfree86/dixmods/extmod/modinit.h
@@ -18,6 +18,10 @@ extern void XTestExtensionInit(INITARGS);
 extern void XTestExtension1Init(INITARGS);
 #endif
 
+#if 1
+extern void XCMiscExtensionInit(INITARGS);
+#endif
+
 #ifdef SCREENSAVER
 extern void ScreenSaverExtensionInit (INITARGS);
 #include <X11/extensions/saver.h>
-- 
1.7.2.3



More information about the xorg-devel mailing list