summaryrefslogtreecommitdiffstats
path: root/otherlibs/unix/utimes.c
diff options
context:
space:
mode:
Diffstat (limited to 'otherlibs/unix/utimes.c')
-rw-r--r--otherlibs/unix/utimes.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/otherlibs/unix/utimes.c b/otherlibs/unix/utimes.c
index 8874a4e0a..371144aec 100644
--- a/otherlibs/unix/utimes.c
+++ b/otherlibs/unix/utimes.c
@@ -23,8 +23,7 @@
#include <sys/utime.h>
#endif
-value unix_utimes(path, atime, mtime) /* ML */
- value path, atime, mtime;
+value unix_utimes(value path, value atime, value mtime) /* ML */
{
struct utimbuf times, * t;
times.actime = Int_val(atime);
@@ -44,8 +43,7 @@ value unix_utimes(path, atime, mtime) /* ML */
#include <sys/types.h>
#include <sys/time.h>
-value unix_utimes(path, atime, mtime) /* ML */
- value path, atime, mtime;
+value unix_utimes(value path, value atime, value mtime) /* ML */
{
struct timeval tv[2], * t;
tv[0].tv_sec = Int_val(atime);
@@ -62,7 +60,8 @@ value unix_utimes(path, atime, mtime) /* ML */
#else
-value unix_utimes() { invalid_argument("utimes not implemented"); }
+value unix_utimes(value path, value atime, value mtime)
+{ invalid_argument("utimes not implemented"); }
#endif
#endif