diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2006-06-25 22:08:53 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2006-06-25 22:08:53 +0000 |
commit | f087798e8bf5857b679c369601426ca29334caee (patch) | |
tree | e5f71b53c9af54ca4db5ca7aca9a7ab99a9d3934 /shell/ash.c | |
parent | a892bf82840423f680bba65c0e679657b0dd347f (diff) | |
download | busybox-w32-f087798e8bf5857b679c369601426ca29334caee.tar.gz busybox-w32-f087798e8bf5857b679c369601426ca29334caee.tar.bz2 busybox-w32-f087798e8bf5857b679c369601426ca29334caee.zip |
- convert old-style parameter declarations (K&R) to modern style.
Diffstat (limited to 'shell/ash.c')
-rw-r--r-- | shell/ash.c | 5 |
1 files changed, 2 insertions, 3 deletions
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) | |||
9026 | 9026 | ||
9027 | #ifdef CONFIG_ASH_GETOPTS | 9027 | #ifdef CONFIG_ASH_GETOPTS |
9028 | static void | 9028 | static void |
9029 | getoptsreset(value) | 9029 | getoptsreset(const char *value) |
9030 | const char *value; | ||
9031 | { | 9030 | { |
9032 | shellparam.optind = number(value); | 9031 | shellparam.optind = number(value); |
9033 | shellparam.optoff = -1; | 9032 | shellparam.optoff = -1; |
@@ -9994,7 +9993,7 @@ static const char xxreadtoken_tokens[] = { | |||
9994 | #define xxreadtoken_singles \ | 9993 | #define xxreadtoken_singles \ |
9995 | (sizeof(xxreadtoken_chars) - xxreadtoken_doubles - 1) | 9994 | (sizeof(xxreadtoken_chars) - xxreadtoken_doubles - 1) |
9996 | 9995 | ||
9997 | static int xxreadtoken() | 9996 | static int xxreadtoken(void) |
9998 | { | 9997 | { |
9999 | int c; | 9998 | int c; |
10000 | 9999 | ||