mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-06 17:18:32 +00:00
timerfd: Move kern_timerfd_* prototypes to <sys/syscallsubr.h>
This commit is contained in:
parent
e6b8c1d780
commit
18cb422356
|
@ -44,6 +44,7 @@
|
|||
#include <sys/selinfo.h>
|
||||
#include <sys/stat.h>
|
||||
#include <sys/sx.h>
|
||||
#include <sys/syscallsubr.h>
|
||||
#include <sys/sysctl.h>
|
||||
#include <sys/sysent.h>
|
||||
#include <sys/sysproto.h>
|
||||
|
|
|
@ -362,6 +362,11 @@ int kern_thr_alloc(struct proc *, int pages, struct thread **);
|
|||
int kern_thr_exit(struct thread *td);
|
||||
int kern_thr_new(struct thread *td, struct thr_param *param);
|
||||
int kern_thr_suspend(struct thread *td, struct timespec *tsp);
|
||||
int kern_timerfd_create(struct thread *td, int clockid, int flags);
|
||||
int kern_timerfd_gettime(struct thread *td, int fd,
|
||||
struct itimerspec *curr_value);
|
||||
int kern_timerfd_settime(struct thread *td, int fd, int flags,
|
||||
const struct itimerspec *new_value, struct itimerspec *old_value);
|
||||
int kern_truncate(struct thread *td, const char *path,
|
||||
enum uio_seg pathseg, off_t length);
|
||||
int kern_funlinkat(struct thread *td, int dfd, const char *path, int fd,
|
||||
|
|
|
@ -58,13 +58,6 @@ __END_DECLS
|
|||
|
||||
#else /* _KERNEL */
|
||||
|
||||
struct thread;
|
||||
|
||||
int kern_timerfd_create(struct thread *td, int clockid, int flags);
|
||||
int kern_timerfd_gettime(struct thread *td, int fd,
|
||||
struct itimerspec *curr_value);
|
||||
int kern_timerfd_settime(struct thread *td, int fd, int flags,
|
||||
const struct itimerspec *new_value, struct itimerspec *old_value);
|
||||
void timerfd_jumped(void);
|
||||
|
||||
#endif /* !_KERNEL */
|
||||
|
|
Loading…
Reference in a new issue