From kbyanc@kronos.alcnet.com  Wed Jan  5 06:26:57 2000
Return-Path: <kbyanc@kronos.alcnet.com>
Received: from kronos.alcnet.com (kronos.alcnet.com [63.69.28.22])
	by hub.freebsd.org (Postfix) with ESMTP id 11F3C14DEA
	for <FreeBSD-gnats-submit@freebsd.org>; 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
Sender: kbyanc@kronos.alcnet.com
Reply-To: kbyanc@posi.net
To: FreeBSD-gnats-submit@freebsd.org
Subject: patch to fix argument mismatch in getnano{up,}time functions
X-Send-Pr-Version: 3.2

>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:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jan  5 06:30:01 PST 2000
>Closed-Date:    Wed May 23 13:34:00 PDT 2001
>Last-Modified:  Wed May 23 13:34:13 PDT 2001
>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:
State-Changed-From-To: open->closed 
State-Changed-By: phk 
State-Changed-When: Wed May 23 13:34:00 PDT 2001 
State-Changed-Why:  
committed, thanks! 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=15908 
>Unformatted:
 
