diff options
author | Eric Andersen | 2001-03-19 23:49:41 +0000 |
---|---|---|
committer | Eric Andersen | 2001-03-19 23:49:41 +0000 |
commit | 92d23245c93eb7db64818384ee6c5366a465e29e (patch) | |
tree | 1ccb6d69a226fdc1efb283cc1b0d2cc321f5b942 /coreutils | |
parent | 40eaa9f0bb2c689552e39890592ed773d870c1fa (diff) | |
download | busybox-92d23245c93eb7db64818384ee6c5366a465e29e.zip busybox-92d23245c93eb7db64818384ee6c5366a465e29e.tar.gz |
Another cleanup patch from Jeff Garzik <jgarzik@mandrakesoft.com>
Diffstat (limited to 'coreutils')
-rw-r--r-- | coreutils/expr.c | 2 | ||||
-rw-r--r-- | coreutils/test.c | 4 | ||||
-rw-r--r-- | coreutils/usleep.c | 2 |
3 files changed, 5 insertions, 3 deletions
diff --git a/coreutils/expr.c b/coreutils/expr.c index 10aaa6b..4a537bf 100644 --- a/coreutils/expr.c +++ b/coreutils/expr.c @@ -225,7 +225,7 @@ int name (l, r) VALUE *l; VALUE *r; \ } #define arithdivf(name, op) \ -int name (l, r) VALUE *l; VALUE *r; \ +static int name (l, r) VALUE *l; VALUE *r; \ { \ if (!toarith (l) || !toarith (r)) \ error_msg_and_die ( "non-numeric argument"); \ diff --git a/coreutils/test.c b/coreutils/test.c index ab9c23e..79db8cb 100644 --- a/coreutils/test.c +++ b/coreutils/test.c @@ -110,10 +110,10 @@ enum token_types { PAREN }; -struct t_op { +static const struct t_op { const char *op_text; short op_num, op_type; -} const ops [] = { +} ops [] = { {"-r", FILRD, UNOP}, {"-w", FILWR, UNOP}, {"-x", FILEX, UNOP}, diff --git a/coreutils/usleep.c b/coreutils/usleep.c index 92e4437..6023bf4 100644 --- a/coreutils/usleep.c +++ b/coreutils/usleep.c @@ -21,6 +21,8 @@ * */ +/* getopt not needed */ + #include <stdlib.h> #include <unistd.h> #include "busybox.h" |