aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/time.h
diff options
context:
space:
mode:
authorPaul Saab <ps@FreeBSD.org>2005-01-19 17:44:59 +0000
committerPaul Saab <ps@FreeBSD.org>2005-01-19 17:44:59 +0000
commit7fdf2c856f3f34fcf25ff3d85cf0f9462d0ff1f0 (patch)
tree4dbcb40b97fc174b8128b1608f54a20fb79fb0d8 /sys/sys/time.h
parentaa959e0d1778b74368c6f63464ba31beccbc15de (diff)
downloadsrc-7fdf2c856f3f34fcf25ff3d85cf0f9462d0ff1f0.tar.gz
src-7fdf2c856f3f34fcf25ff3d85cf0f9462d0ff1f0.zip
- rename nanosleep1 to kern_nanosleep
- Add a 32bit syscall entry for nanosleep Reviewed by: peter Obtained from: Yahoo!
Notes
Notes: svn path=/head/; revision=140481
Diffstat (limited to 'sys/sys/time.h')
-rw-r--r--sys/sys/time.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/sys/time.h b/sys/sys/time.h
index 5371838dd5a0..6e83f5f2e29b 100644
--- a/sys/sys/time.h
+++ b/sys/sys/time.h
@@ -297,6 +297,10 @@ int ratecheck(struct timeval *, const struct timeval *);
void timevaladd(struct timeval *t1, const struct timeval *t2);
void timevalsub(struct timeval *t1, const struct timeval *t2);
int tvtohz(struct timeval *tv);
+
+struct thread;
+int kern_nanosleep(struct thread *td, struct timespec *rqt,
+ struct timespec *rmt);
#else /* !_KERNEL */
#include <time.h>