Date: Wed, 5 Jan 2000 09:26:53 -0500 (EST) From: kbyanc@posi.net To: FreeBSD-gnats-submit@freebsd.org Subject: misc/15908: patch to fix argument mismatch in getnano{up,}time functions Message-ID: <200001051426.JAA58178@kronos.alcnet.com>
next in thread | raw e-mail | index | archive | help
>Number: 15908 >Category: misc >Synopsis: patch to fix argument mismatch in getnano{up,}time functions >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Jan 5 06:30:01 PST 2000 >Closed-Date: >Last-Modified: >Originator: Kelly Yancey >Release: FreeBSD 3.2-STABLE i386 >Organization: >Environment: >Description: Attached is a minor patch to /sys/sys/time.h which fixes a mismatch between the declaration and definition of the getnano{up,}time functions. The mismatch definately doesn't hurt anything. Nonetheless, here is a quickie patch to sync the two... -Kelly >How-To-Repeat: >Fix: --- /sys/sys/time.h.orig Mon Jan 3 16:40:33 2000 +++ /sys/sys/time.h Mon Jan 3 16:40:57 2000 @@ -267,8 +267,8 @@ void getmicrouptime __P((struct timeval *tv)); void getmicrotime __P((struct timeval *tv)); -void getnanouptime __P((struct timespec *tv)); -void getnanotime __P((struct timespec *tv)); +void getnanouptime __P((struct timespec *tsp)); +void getnanotime __P((struct timespec *tsp)); void init_timecounter __P((struct timecounter *tc)); int itimerdecr __P((struct itimerval *itp, int usec)); int itimerfix __P((struct timeval *tv)); >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200001051426.JAA58178>