Attached is a minor patch to sys/sys/time.h which fixes a mismatch
between the declaration and definition of the getnano{up,}time routines.
The mismatch definately doesn't hurt anything. I only noticed because I
am trying to write man pages for this family of routines. Anyway, if a
committed is feeling bored (yeah right :) ), here is a quickie patch to
sync the two...

  Thanks,

  Kelly

--- time.h.orig Mon Jan  3 16:40:33 2000
+++ 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));

--
Kelly Yancey  -  [EMAIL PROTECTED]  -  Richmond, VA
Analyst / E-business Development, Bell Industries  http://www.bellind.com/
Maintainer, BSD Driver Database       http://www.posi.net/freebsd/drivers/
Coordinator, Team FreeBSD        http://www.posi.net/freebsd/Team-FreeBSD/




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to