From 863c2534251154fc3a974c2f35cabe650fe8c626 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Wed, 17 Jan 1996 17:50:08 +0000 Subject: (argdecode): Declare parameter const. --- src/sleep.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/sleep.c') 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; -- cgit v1.2.3-54-g00ecf