]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(argdecode): Declare parameter const.
authorJim Meyering <jim@meyering.net>
Wed, 17 Jan 1996 17:50:08 +0000 (17:50 +0000)
committerJim Meyering <jim@meyering.net>
Wed, 17 Jan 1996 17:50:08 +0000 (17:50 +0000)
src/sleep.c

index f7a2978332bd895c3cf28744ac81447b27e89f11..dcf4db65e27b323769194c8fb008a1f9eba7734f 100644 (file)
@@ -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;