summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1999-04-01 04:47:55 +0000
committerJim Meyering <jim@meyering.net>1999-04-01 04:47:55 +0000
commit3a3189e6c3524a38b2c952417ff69087e9db5124 (patch)
treed643fe3d9ead5a86104c0db5a6abb205d1f36b58
parentdb3c0ffb44e6cbf2a7cc09244dd879b1a08b309d (diff)
downloadcoreutils-3a3189e6c3524a38b2c952417ff69087e9db5124.tar.xz
(touch): Qualify a char* with the `const' keyword.
-rw-r--r--src/touch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/touch.c b/src/touch.c
index 9140493d9..3b01ab30a 100644
--- a/src/touch.c
+++ b/src/touch.c
@@ -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;