summaryrefslogtreecommitdiffstats
path: root/otherlibs/unix/time.c
diff options
context:
space:
mode:
Diffstat (limited to 'otherlibs/unix/time.c')
-rw-r--r--otherlibs/unix/time.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/otherlibs/unix/time.c b/otherlibs/unix/time.c
index c63c2eb80..2fdf4978e 100644
--- a/otherlibs/unix/time.c
+++ b/otherlibs/unix/time.c
@@ -18,7 +18,7 @@
#include <alloc.h>
#include "unixsupport.h"
-CAMLprim value unix_time(void)
+CAMLprim value unix_time(value unit)
{
return copy_double((double) time((time_t *) NULL));
}