summaryrefslogtreecommitdiffhomepage
path: root/shell/ash.c
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-06-25 22:08:53 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-06-25 22:08:53 +0000
commitf087798e8bf5857b679c369601426ca29334caee (patch)
treee5f71b53c9af54ca4db5ca7aca9a7ab99a9d3934 /shell/ash.c
parenta892bf82840423f680bba65c0e679657b0dd347f (diff)
- convert old-style parameter declarations (K&R) to modern style.
Diffstat (limited to 'shell/ash.c')
-rw-r--r--shell/ash.c5
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)
#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;