Bug 15908

Summary: patch to fix argument mismatch in getnano{up,}time functions
Product: Base System Reporter: kbyanc <kbyanc>
Component: miscAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 3.2-STABLE   
Hardware: Any   
OS: Any   

Description kbyanc 2000-01-05 14:30:01 UTC
	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

Fix: 

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));--jw7O0eeFcsfhHz35KKUpNJtNsRbCXWUxKBvXbZkY0x9sWWMt
Content-Type: text/plain; name="file.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="file.diff"

--- /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 @@
Comment 1 Poul-Henning Kamp freebsd_committer freebsd_triage 2001-05-23 21:34:00 UTC
State Changed
From-To: open->closed

committed, thanks!