diff --git a/scsh/time1.c b/scsh/time1.c index 880c85b..365b830 100644 --- a/scsh/time1.c +++ b/scsh/time1.c @@ -459,7 +459,6 @@ char *tzname_loser(struct tm *dp) s48_value time_plus_ticks() { struct timeval t; - struct timezone tz; s48_value sch_tv_sec = S48_UNSPECIFIC; s48_value sch_tv_usec = S48_UNSPECIFIC; s48_value sch_listval = S48_UNSPECIFIC; @@ -468,7 +467,7 @@ s48_value time_plus_ticks() S48_GC_PROTECT_3(sch_tv_sec, sch_tv_usec, sch_listval); - if( gettimeofday(&t, &tz) ) s48_raise_os_error (errno); + if( gettimeofday(&t, NULL) ) s48_raise_os_error (errno); sch_tv_sec = s48_enter_integer(t.tv_sec);