From ea349d3c406695665322c71caf5ea3c970cb3155 Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Tue, 30 Jul 2013 21:57:04 -0700 Subject: Use (void) to declare functions that take no arguments, instead of () It's time for C89. Signed-off-by: Alan Coopersmith Reviewed-by: --- src/parse.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/parse.c') 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) { -- cgit v1.2.3