From cdb0a5719be5a659edf9180b8cf0cfed5d058f3e Mon Sep 17 00:00:00 2001 From: Jeff Hill Date: Tue, 9 Jul 1996 22:41:02 +0000 Subject: [PATCH] pass nill 2nd arg to gettimeofday() --- src/ca/posix_depen.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/ca/posix_depen.c b/src/ca/posix_depen.c index e496c5a9f..2a4edf024 100644 --- a/src/ca/posix_depen.c +++ b/src/ca/posix_depen.c @@ -29,6 +29,9 @@ * Modification Log: * ----------------- * $Log$ + * Revision 1.18 1996/06/20 21:19:29 jhill + * fixed posix signal problem with "cc -Xc" + * * Revision 1.17 1995/12/19 19:33:42 jhill * added missing arg to execlp() * @@ -56,13 +59,12 @@ */ void cac_gettimeval(struct timeval *pt) { - struct timezone tz; int status; /* * Not POSIX but available on most of the systems that we use */ - status = gettimeofday(pt, &tz); + status = gettimeofday(pt, NULL); assert(status == 0); }