From owner-freebsd-bugs Wed Jan 5 6:30: 4 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id DBF19153DC for ; Wed, 5 Jan 2000 06:30:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id GAA36193; Wed, 5 Jan 2000 06:30:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from kronos.alcnet.com (kronos.alcnet.com [63.69.28.22]) by hub.freebsd.org (Postfix) with ESMTP id 11F3C14DEA for ; Wed, 5 Jan 2000 06:26:57 -0800 (PST) (envelope-from kbyanc@kronos.alcnet.com) Received: (from kbyanc@localhost) by kronos.alcnet.com (8.9.3/8.9.3/antispam) id JAA58178; Wed, 5 Jan 2000 09:26:53 -0500 (EST) Message-Id: <200001051426.JAA58178@kronos.alcnet.com> Date: Wed, 5 Jan 2000 09:26:53 -0500 (EST) From: kbyanc@posi.net Reply-To: kbyanc@posi.net To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: misc/15908: patch to fix argument mismatch in getnano{up,}time functions Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >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