Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Jan 2000 16:47:47 -0500 (EST)
From:      Kelly Yancey <kbyanc@posi.net>
To:        hackers@freebsd.org
Subject:   minor patch to fix inconsistency in getnano{up,}time declaration
Message-ID:  <Pine.BSF.4.05.10001031642180.18888-100000@kronos.alcnet.com>

next in thread | raw e-mail | index | archive | help

  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  -  kbyanc@posi.net  -  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 majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.05.10001031642180.18888-100000>