summaryrefslogtreecommitdiff
path: root/os
diff options
context:
space:
mode:
authorStefan Huehner <stefan@huehner.org>2007-04-09 14:33:15 -0700
committerAlan Coopersmith <alan.coopersmith@sun.com>2007-04-09 14:33:15 -0700
commit1f6741db19d4c91b1eacb497dff1814acb1bf0c3 (patch)
treeefb133453339899aaba12d95972d681fa1797312 /os
parentf24391dbfd12a84253dfec794ee7884afd52e197 (diff)
Bug #10560: Code-Cleanup: function declarations () -> (void)
X.Org Bugzilla #10560: <https://bugs.freedesktop.org/show_bug.cgi?id=10560> Patch #9511 <https://bugs.freedesktop.org/attachment.cgi?id=9511>
Diffstat (limited to 'os')
-rw-r--r--os/log.c4
-rw-r--r--os/oscolor.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/os/log.c b/os/log.c
index b1d628c3f..e8aa3fa01 100644
--- a/os/log.c
+++ b/os/log.c
@@ -221,7 +221,7 @@ LogInit(const char *fname, const char *backup)
}
void
-LogClose()
+LogClose(void)
{
if (logFile) {
fclose(logFile);
@@ -616,7 +616,7 @@ Error(char *str)
}
void
-LogPrintMarkers()
+LogPrintMarkers(void)
{
/* Show what the message marker symbols mean. */
ErrorF("Markers: ");
diff --git a/os/oscolor.c b/os/oscolor.c
index a13a3a68c..d53e4d8ff 100644
--- a/os/oscolor.c
+++ b/os/oscolor.c
@@ -102,7 +102,7 @@ typedef struct _builtinColor {
#define NUM_BUILTIN_COLORS (sizeof (BuiltinColors) / sizeof (BuiltinColors[0]))
Bool
-OsInitColors()
+OsInitColors(void)
{
return TRUE;
}