From: Jim Meyering Date: Wed, 17 Jan 1996 17:50:08 +0000 (+0000) Subject: (argdecode): Declare parameter const. X-Git-Tag: TEXTUTILS-1_14~39 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=863c2534251154fc3a974c2f35cabe650fe8c626;p=thirdparty%2Fcoreutils.git (argdecode): Declare parameter const. --- diff --git a/src/sleep.c b/src/sleep.c index f7a2978332..dcf4db65e2 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;