[PATCH 7/9] xcmisc: warning fix

Adam Jackson ajax at redhat.com
Tue Oct 19 08:59:22 PDT 2010


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

Signed-off-by: Adam Jackson <ajax at redhat.com>
---
 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