diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2013-07-30 21:57:04 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2013-07-31 21:59:16 -0700 |
commit | ea349d3c406695665322c71caf5ea3c970cb3155 (patch) | |
tree | 73e1ea9553cae88cfe2748cd6d2681d147254851 /src/parse.c | |
parent | abb8b6198b639359f34ab6f0ab97039016d8b6db (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/parse.c')
-rw-r--r-- | src/parse.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/parse.c b/src/parse.c index ebdb9c1..e565ad5 100644 --- a/src/parse.c +++ b/src/parse.c @@ -235,7 +235,7 @@ int ParseStringList (unsigned char **sl) * * \return the next input character */ -static int twmFileInput() +static int twmFileInput(void) { if (overflowlen) return (int) overflowbuff[--overflowlen]; @@ -250,7 +250,7 @@ static int twmFileInput() return ((int)buff[ptr++]); } -static int twmStringListInput() +static int twmStringListInput(void) { if (overflowlen) return (int) overflowbuff[--overflowlen]; @@ -1007,7 +1007,7 @@ do_var_savecolor(int key) * in the root window property. */ void -assign_var_savecolor() +assign_var_savecolor(void) { Cptr cp = chead; while (cp != NULL) { |