(oatoi): declare arg to be const
authorJim Meyering <jim@meyering.net>
Wed, 9 Sep 1998 15:39:13 +0000 (15:39 +0000)
committerJim Meyering <jim@meyering.net>
Wed, 9 Sep 1998 15:39:13 +0000 (15:39 +0000)
lib/modechange.c

index 10e65fbfad5680f6bda1e5334280ddb176b63c38..a2568e5490eaceee1929ef9f77cda942c8458af8 100644 (file)
@@ -59,7 +59,7 @@ char *malloc;
    octal number S.  If S is not an octal number, return -1.  */
 
 static int
-oatoi (char *s)
+oatoi (const char *s)
 {
   register int i;