summaryrefslogtreecommitdiff
path: root/libc/misc/time/utimes.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-09-27 05:24:26 +0000
committerEric Andersen <andersen@codepoet.org>2001-09-27 05:24:26 +0000
commit2512c847453c24b928c34beed88902fbb6877b7a (patch)
tree3d327c54c00684b85c435cffa29c5050888c0a69 /libc/misc/time/utimes.c
parente83a36ce9f97ac0f59117b3a62fd2dd8461b1fd5 (diff)
Update to accomodate the header file changes
Diffstat (limited to 'libc/misc/time/utimes.c')
-rw-r--r--libc/misc/time/utimes.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libc/misc/time/utimes.c b/libc/misc/time/utimes.c
index 364bf83e7..86dff6bea 100644
--- a/libc/misc/time/utimes.c
+++ b/libc/misc/time/utimes.c
@@ -1,7 +1,8 @@
+#include <stdlib.h>
#include <utime.h>
#include <sys/time.h>
-int utimes(const char *path, struct timeval tvp[2])
+int utimes (const char *file, const struct timeval tvp[2])
{
struct utimbuf buf, *times;
@@ -12,5 +13,5 @@ int utimes(const char *path, struct timeval tvp[2])
}
else
times = NULL;
- return utime(path, times);
+ return utime(file, times);
}