(touch): Qualify a char* with the `const' keyword.
authorJim Meyering <jim@meyering.net>
Thu, 1 Apr 1999 04:47:55 +0000 (04:47 +0000)
committerJim Meyering <jim@meyering.net>
Thu, 1 Apr 1999 04:47:55 +0000 (04:47 +0000)
src/touch.c

index 9140493..3b01ab3 100644 (file)
@@ -106,7 +106,7 @@ static int const time_masks[] =
    Return 0 if successful, 1 if an error occurs. */
 
 static int
-touch (char *file)
+touch (const char *file)
 {
   int status;
   struct stat sbuf;