summaryrefslogtreecommitdiff
path: root/src/sleep.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1996-01-17 17:50:08 +0000
committerJim Meyering <jim@meyering.net>1996-01-17 17:50:08 +0000
commit863c2534251154fc3a974c2f35cabe650fe8c626 (patch)
treeb37a997871554cb1254d9bed96b014aa9127c299 /src/sleep.c
parent08d800d44e8d4dcc5cf29aaa301eea2295754c9b (diff)
downloadcoreutils-863c2534251154fc3a974c2f35cabe650fe8c626.tar.xz
(argdecode): Declare parameter const.
Diffstat (limited to 'src/sleep.c')
-rw-r--r--src/sleep.c6
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;