move kern_nanosleep to sys/syscallsubr.h

Requested by:	jhb
This commit is contained in:
Paul Saab 2005-01-19 18:09:50 +00:00
parent 0e214fad37
commit efa42cbc93
3 changed files with 3 additions and 4 deletions

View File

@ -43,6 +43,7 @@ __FBSDID("$FreeBSD$");
#include <sys/signalvar.h>
#include <sys/kernel.h>
#include <sys/mac.h>
#include <sys/syscallsubr.h>
#include <sys/sysent.h>
#include <sys/proc.h>
#include <sys/time.h>

View File

@ -70,6 +70,8 @@ int kern_mkfifo(struct thread *td, char *path, enum uio_seg pathseg,
int mode);
int kern_mknod(struct thread *td, char *path, enum uio_seg pathseg,
int mode, int dev);
int kern_nanosleep(struct thread *td, struct timespec *rqt,
struct timespec *rmt);
int kern_open(struct thread *td, char *path, enum uio_seg pathseg,
int flags, int mode);
int kern_ptrace(struct thread *td, int req, pid_t pid, void *addr,

View File

@ -297,10 +297,6 @@ 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>