diff options
author | Jim Meyering <jim@meyering.net> | 1996-01-17 17:50:08 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1996-01-17 17:50:08 +0000 |
commit | 863c2534251154fc3a974c2f35cabe650fe8c626 (patch) | |
tree | b37a997871554cb1254d9bed96b014aa9127c299 /src | |
parent | 08d800d44e8d4dcc5cf29aaa301eea2295754c9b (diff) | |
download | coreutils-863c2534251154fc3a974c2f35cabe650fe8c626.tar.xz |
(argdecode): Declare parameter const.
Diffstat (limited to 'src')
-rw-r--r-- | src/sleep.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/sleep.c b/src/sleep.c index f7a297833..dcf4db65e 100644 --- a/src/sleep.c +++ b/src/sleep.c @@ -24,7 +24,7 @@ #include "system.h" #include "error.h" -static long argdecode __P ((char *s)); +static long argdecode __P ((const char *s)); /* The name by which this program was run. */ char *program_name; @@ -106,10 +106,10 @@ main (int argc, char **argv) } static long -argdecode (char *s) +argdecode (const char *s) { long value; - register char *p = s; + register const char *p = s; register char c; value = 0; |