summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2006-06-07 14:03:35 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2006-06-07 14:03:35 -0700
commitcc465800ddca5fb6c9ec09fdfa8f1f05359cf396 (patch)
tree49d00f03a3c77e2b7dd5e1771069ab925db73131
parent785c9789704ed142fe98cd17b5995e4a95b7141f (diff)
Fix compiler warnings about SetVendorRelease and SetVendorString
-rw-r--r--hw/dmx/dmxinit.c3
-rw-r--r--include/dix.h6
2 files changed, 6 insertions, 3 deletions
diff --git a/hw/dmx/dmxinit.c b/hw/dmx/dmxinit.c
index ddc4d2b04..e7f04df16 100644
--- a/hw/dmx/dmxinit.c
+++ b/hw/dmx/dmxinit.c
@@ -78,9 +78,6 @@ extern void GlxSetVisualConfigs(
);
#endif /* GLXEXT */
-extern void SetVendorRelease(int release); /* in dix/main.c */
-extern void SetVendorString(char *string); /* in dix/main.c */
-
/* Global variables available to all Xserver/hw/dmx routines. */
int dmxNumScreens;
DMXScreenInfo *dmxScreens;
diff --git a/include/dix.h b/include/dix.h
index 1687f751a..9fc5b07b3 100644
--- a/include/dix.h
+++ b/include/dix.h
@@ -516,6 +516,12 @@ extern void FreeAllAtoms(void);
extern void InitAtoms(void);
+/* main.c */
+
+extern void SetVendorRelease(int release);
+
+extern void SetVendorString(char *string);
+
/* events.c */
extern void SetMaskForEvent(