move kern_nanosleep to sys/syscallsubr.h
Requested by: jhb
This commit is contained in:
parent
0e214fad37
commit
efa42cbc93
@ -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>
|
||||
|
@ -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,
|
||||
|
@ -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>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user