diff options
Diffstat (limited to 'otherlibs/unix/gettimeofday.c')
-rw-r--r-- | otherlibs/unix/gettimeofday.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/otherlibs/unix/gettimeofday.c b/otherlibs/unix/gettimeofday.c index d1fd6cb64..80a5a231c 100644 --- a/otherlibs/unix/gettimeofday.c +++ b/otherlibs/unix/gettimeofday.c @@ -7,7 +7,7 @@ #include <sys/types.h> #include <sys/time.h> -value unix_gettimeofday() /* ML */ +value unix_gettimeofday(value unit) /* ML */ { struct timeval tp; if (gettimeofday(&tp, NULL) == -1) uerror("gettimeofday", Nothing); @@ -16,6 +16,7 @@ value unix_gettimeofday() /* ML */ #else -value unix_gettimeofday() { invalid_argument("gettimeofday not implemented"); } +value unix_gettimeofday(value unit) +{ invalid_argument("gettimeofday not implemented"); } #endif |