summaryrefslogtreecommitdiff
path: root/src/gram.y
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2013-07-30 21:57:04 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2013-07-31 21:59:16 -0700
commitea349d3c406695665322c71caf5ea3c970cb3155 (patch)
tree73e1ea9553cae88cfe2748cd6d2681d147254851 /src/gram.y
parentabb8b6198b639359f34ab6f0ab97039016d8b6db (diff)
Use (void) to declare functions that take no arguments, instead of ()
It's time for C89. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: <wharms@bfs.de>
Diffstat (limited to 'src/gram.y')
-rw-r--r--src/gram.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gram.y b/src/gram.y
index dac77f4..728297d 100644
--- a/src/gram.y
+++ b/src/gram.y
@@ -874,7 +874,7 @@ static Bool CheckColormapArg (char *s)
void
-twmrc_error_prefix ()
+twmrc_error_prefix (void)
{
fprintf (stderr, "%s: line %d: ", ProgramName, yylineno);
}