From f087798e8bf5857b679c369601426ca29334caee Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Sun, 25 Jun 2006 22:08:53 +0000 Subject: - convert old-style parameter declarations (K&R) to modern style. --- shell/ash.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'shell/ash.c') diff --git a/shell/ash.c b/shell/ash.c index 35d58b5d7..c2e70a535 100644 --- a/shell/ash.c +++ b/shell/ash.c @@ -9026,8 +9026,7 @@ setcmd(int argc, char **argv) #ifdef CONFIG_ASH_GETOPTS static void -getoptsreset(value) - const char *value; +getoptsreset(const char *value) { shellparam.optind = number(value); shellparam.optoff = -1; @@ -9994,7 +9993,7 @@ static const char xxreadtoken_tokens[] = { #define xxreadtoken_singles \ (sizeof(xxreadtoken_chars) - xxreadtoken_doubles - 1) -static int xxreadtoken() +static int xxreadtoken(void) { int c; -- cgit v1.2.3