summaryrefslogtreecommitdiff
path: root/src/touch.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1996-08-31 23:49:29 +0000
committerJim Meyering <jim@meyering.net>1996-08-31 23:49:29 +0000
commitbfe2a56ac632a6854856a4b7686b41f5fe39a191 (patch)
tree83e2aac2a36be23fec724e509c713a0d597d7959 /src/touch.c
parentc9fff5189792774b8169ce200ba72786646e715b (diff)
downloadcoreutils-bfe2a56ac632a6854856a4b7686b41f5fe39a191.tar.xz
(utime_now): Protoize.
Reported by David S. Miller (davem@caip.rutgers.edu).
Diffstat (limited to 'src/touch.c')
-rw-r--r--src/touch.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/touch.c b/src/touch.c
index c8bcd95f3..7e1ae5fc6 100644
--- a/src/touch.c
+++ b/src/touch.c
@@ -217,9 +217,7 @@ touch (char *file)
Return 0 if successful, -1 if not. */
static int
-utime_now (file, filesize)
- char *file;
- off_t filesize;
+utime_now (const char *file, off_t filesize)
{
int fd;
char c;