From 69d6a1cb6b651ba96bdfca81934293b3a76e643a Mon Sep 17 00:00:00 2001 From: bdc Date: Fri, 16 Apr 2004 05:02:58 +0000 Subject: [PATCH] Interix support on mainline. This file was still machine specific in the branch so I'm making the corresponding change here as well so it does not get lost in the branch integration. --- scsh/time1.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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);