summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEamon Walsh <ewalsh@tycho.nsa.gov>2008-06-13 21:42:37 -0400
committerEamon Walsh <ewalsh@moss-charon.epoch.ncsc.mil>2008-06-13 21:42:37 -0400
commit720e44f9730b9e275579483c2a34b16bba77e146 (patch)
treeab5a5b1be87b45ce17b2ab830b7994996f64f882
parent9d871e19c9dee5d3ee7f123249e8890417d83093 (diff)
Fix "warning: no previous prototype for ‘XevieExtensionInit’".
-rw-r--r--Xext/xevie.c1
-rw-r--r--hw/xfree86/dixmods/extmod/modinit.h4
2 files changed, 5 insertions, 0 deletions
diff --git a/Xext/xevie.c b/Xext/xevie.c
index 277b93bfb..a5b183790 100644
--- a/Xext/xevie.c
+++ b/Xext/xevie.c
@@ -55,6 +55,7 @@ of the copyright holder.
#include <xkbsrv.h>
#include "../os/osdep.h"
+#include "modinit.h"
#define NoSuchEvent 0x80000000
diff --git a/hw/xfree86/dixmods/extmod/modinit.h b/hw/xfree86/dixmods/extmod/modinit.h
index 7282e6e06..32f7ed48f 100644
--- a/hw/xfree86/dixmods/extmod/modinit.h
+++ b/hw/xfree86/dixmods/extmod/modinit.h
@@ -112,6 +112,10 @@ extern void SELinuxExtensionInit(INITARGS);
#include "xselinux.h"
#endif
+#ifdef XEVIE
+extern void XevieExtensionInit(INITARGS);
+#endif
+
#if 1
extern void SecurityExtensionInit(INITARGS);
#endif