diff options
author | rdivacky <rdivacky@FreeBSD.org> | 2013-09-18 18:48:33 +0000 |
---|---|---|
committer | rdivacky <rdivacky@FreeBSD.org> | 2013-09-18 18:48:33 +0000 |
commit | fae003a06921a2c437637783cab8833afbf91fa6 (patch) | |
tree | 6b3d2ac346ca65cf7f32f6b024423fc04aa79c0c /sys/sys/event.h | |
parent | b320aa22a643ebb0c43c9206e35c936f8a4ffced (diff) | |
download | FreeBSD-src-fae003a06921a2c437637783cab8833afbf91fa6.zip FreeBSD-src-fae003a06921a2c437637783cab8833afbf91fa6.tar.gz |
Revert r255672, it has some serious flaws, leaking file references etc.
Approved by: re (delphij)
Diffstat (limited to 'sys/sys/event.h')
-rw-r--r-- | sys/sys/event.h | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/sys/sys/event.h b/sys/sys/event.h index 60bced7..03bd7b9 100644 --- a/sys/sys/event.h +++ b/sys/sys/event.h @@ -236,9 +236,6 @@ struct proc; struct knlist; struct mtx; struct rwlock; -struct uio; -struct stat; -struct ucred; extern void knote(struct knlist *list, long hint, int lockflags); extern void knote_fork(struct knlist *list, int pid); @@ -264,21 +261,6 @@ extern int kqfd_register(int fd, struct kevent *kev, struct thread *p, extern int kqueue_add_filteropts(int filt, struct filterops *filtops); extern int kqueue_del_filteropts(int filt); -int kqueue_read(struct file *fp, struct uio *uio, struct ucred *active_cred, - int flags, struct thread *td); -int kqueue_write(struct file *fp, struct uio *uio, struct ucred *active_cred, - int flags, struct thread *td); -int kqueue_truncate(struct file *fp, off_t length, struct ucred *active_cred, - struct thread *td); -int kqueue_ioctl(struct file *fp, u_long cmd, void *data, - struct ucred *active_cred, struct thread *td); -int kqueue_poll(struct file *fp, int events, struct ucred *active_cred, - struct thread *td); -int kqueue_kqfilter(struct file *fp, struct knote *kn); -int kqueue_stat(struct file *fp, struct stat *st, struct ucred *active_cred, - struct thread *td); -int kqueue_close(struct file *fp, struct thread *td); - #else /* !_KERNEL */ #include <sys/cdefs.h> |