From 2bcf574f796d858c4a57b16a2d622b59b1257fa8 Mon Sep 17 00:00:00 2001 From: Jeff Hill Date: Tue, 9 Jul 1996 23:01:31 +0000 Subject: [PATCH] nill 2nd arg to gettimeofday() --- src/libCom/fdmgr.c | 7 ++++--- src/libCom/osiTimeOSD.cc | 3 +-- 2 files changed, 5 insertions(+), 5 deletions(-) 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);