diff --git a/src/libCom/fdmgr.c b/src/libCom/fdmgr.c index fbb89a52e..3ee07c0db 100644 --- a/src/libCom/fdmgr.c +++ b/src/libCom/fdmgr.c @@ -71,6 +71,9 @@ * we eliminate delete ambiguity (chance of the same * being reused). * $Log$ + * Revision 1.21 1996/06/19 17:12:40 jhill + * check for fd>FD_SETSIZE and improved func proto + * * Revision 1.20 1995/12/19 19:41:24 jhill * optimized alarm entry sort * @@ -1063,9 +1066,7 @@ fdctx *pfdctx, struct timeval *pt ) { - struct timezone tz; - - return gettimeofday (pt, &tz); + return gettimeofday (pt, (struct timezone *) NULL); } #endif diff --git a/src/libCom/osiTimeOSD.cc b/src/libCom/osiTimeOSD.cc index 69b22af99..5cde38655 100644 --- a/src/libCom/osiTimeOSD.cc +++ b/src/libCom/osiTimeOSD.cc @@ -17,9 +17,8 @@ osiTime osiTime::getCurrent () { int status; struct timeval tv; - struct timezone tzp; - status = gettimeofday (&tv, &tzp); + status = gettimeofday (&tv, NULL); assert (status==0); return osiTime(tv.tv_sec, tv.tv_usec * nSecPerUSec);