summaryrefslogtreecommitdiff
path: root/hw/xnest
diff options
context:
space:
mode:
authorJulien Cristau <jcristau@debian.org>2009-01-11 08:40:47 +0100
committerJulien Cristau <jcristau@debian.org>2009-01-11 08:54:11 +0100
commit9651cd8d7ac26635b6fb1826806ac9f4e2bddb63 (patch)
treee328cce02cafbc8d6f1b4d1d5c9244603e61ff38 /hw/xnest
parent31439195c51f183f5a8989a8d4f95b3e6326eda0 (diff)
xnest: ANSI cleanups
Diffstat (limited to 'hw/xnest')
-rw-r--r--hw/xnest/Args.c2
-rw-r--r--hw/xnest/Events.c2
-rw-r--r--hw/xnest/Init.c8
3 files changed, 6 insertions, 6 deletions
diff --git a/hw/xnest/Args.c b/hw/xnest/Args.c
index b95f70093..cdc831133 100644
--- a/hw/xnest/Args.c
+++ b/hw/xnest/Args.c
@@ -174,7 +174,7 @@ ddxProcessArgument (int argc, char *argv[], int i)
return 0;
}
-void ddxUseMsg()
+void ddxUseMsg(void)
{
ErrorF("-display string display name of the real server\n");
ErrorF("-sync sinchronize with the real server\n");
diff --git a/hw/xnest/Events.c b/hw/xnest/Events.c
index b3ae97284..c2c09aaa6 100644
--- a/hw/xnest/Events.c
+++ b/hw/xnest/Events.c
@@ -45,7 +45,7 @@ CARD32 lastEventTime = 0;
extern EventList *xnestEvents;
void
-ProcessInputEvents()
+ProcessInputEvents(void)
{
mieqProcessInputEvents();
}
diff --git a/hw/xnest/Init.c b/hw/xnest/Init.c
index f80bbd121..2a9fc26a1 100644
--- a/hw/xnest/Init.c
+++ b/hw/xnest/Init.c
@@ -107,14 +107,14 @@ InitInput(int argc, char *argv[])
/*
* DDX - specific abort routine. Called by AbortServer().
*/
-void AbortDDX()
+void AbortDDX(void)
{
xnestDoFullGeneration = True;
xnestCloseDisplay();
}
/* Called by GiveUp(). */
-void ddxGiveUp()
+void ddxGiveUp(void)
{
AbortDDX();
}
@@ -126,12 +126,12 @@ DarwinHandleGUI(int argc, char *argv[])
}
#endif
-void OsVendorInit()
+void OsVendorInit(void)
{
return;
}
-void OsVendorFatalError()
+void OsVendorFatalError(void)
{
return;
}