summaryrefslogtreecommitdiffstats
path: root/sys/sys/event.h
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2017-01-09 09:53:07 +0000
committerkib <kib@FreeBSD.org>2017-01-09 09:53:07 +0000
commitfd1e708627146f397395151471f316896ac16eb0 (patch)
tree9e03862e77dc09363696b1990c23edb40bbe2107 /sys/sys/event.h
parent13ff76b912efb400c1ef20401491bcd0b3f9c0e8 (diff)
downloadFreeBSD-src-fd1e708627146f397395151471f316896ac16eb0.zip
FreeBSD-src-fd1e708627146f397395151471f316896ac16eb0.tar.gz
MFC r311055:
Remove unneeded externs keywords. Reindent long lines.
Diffstat (limited to 'sys/sys/event.h')
-rw-r--r--sys/sys/event.h44
1 files changed, 22 insertions, 22 deletions
diff --git a/sys/sys/event.h b/sys/sys/event.h
index 139caff..66ea48b 100644
--- a/sys/sys/event.h
+++ b/sys/sys/event.h
@@ -257,30 +257,30 @@ struct knlist;
struct mtx;
struct rwlock;
-extern void knote(struct knlist *list, long hint, int lockflags);
-extern void knote_fork(struct knlist *list, int pid);
-extern struct knlist *knlist_alloc(struct mtx *lock);
-extern void knlist_detach(struct knlist *knl);
-extern void knlist_add(struct knlist *knl, struct knote *kn, int islocked);
-extern void knlist_remove(struct knlist *knl, struct knote *kn, int islocked);
-extern int knlist_empty(struct knlist *knl);
-extern void knlist_init(struct knlist *knl, void *lock,
- void (*kl_lock)(void *), void (*kl_unlock)(void *),
- void (*kl_assert_locked)(void *), void (*kl_assert_unlocked)(void *));
-extern void knlist_init_mtx(struct knlist *knl, struct mtx *lock);
-extern void knlist_init_rw_reader(struct knlist *knl, struct rwlock *lock);
-extern void knlist_destroy(struct knlist *knl);
-extern void knlist_cleardel(struct knlist *knl, struct thread *td,
- int islocked, int killkn);
+void knote(struct knlist *list, long hint, int lockflags);
+void knote_fork(struct knlist *list, int pid);
+struct knlist *knlist_alloc(struct mtx *lock);
+void knlist_detach(struct knlist *knl);
+void knlist_add(struct knlist *knl, struct knote *kn, int islocked);
+void knlist_remove(struct knlist *knl, struct knote *kn, int islocked);
+int knlist_empty(struct knlist *knl);
+void knlist_init(struct knlist *knl, void *lock, void (*kl_lock)(void *),
+ void (*kl_unlock)(void *), void (*kl_assert_locked)(void *),
+ void (*kl_assert_unlocked)(void *));
+void knlist_init_mtx(struct knlist *knl, struct mtx *lock);
+void knlist_init_rw_reader(struct knlist *knl, struct rwlock *lock);
+void knlist_destroy(struct knlist *knl);
+void knlist_cleardel(struct knlist *knl, struct thread *td,
+ int islocked, int killkn);
#define knlist_clear(knl, islocked) \
- knlist_cleardel((knl), NULL, (islocked), 0)
+ knlist_cleardel((knl), NULL, (islocked), 0)
#define knlist_delete(knl, td, islocked) \
- knlist_cleardel((knl), (td), (islocked), 1)
-extern void knote_fdclose(struct thread *p, int fd);
-extern int kqfd_register(int fd, struct kevent *kev, struct thread *p,
- int waitok);
-extern int kqueue_add_filteropts(int filt, struct filterops *filtops);
-extern int kqueue_del_filteropts(int filt);
+ knlist_cleardel((knl), (td), (islocked), 1)
+void knote_fdclose(struct thread *p, int fd);
+int kqfd_register(int fd, struct kevent *kev, struct thread *p,
+ int waitok);
+int kqueue_add_filteropts(int filt, struct filterops *filtops);
+int kqueue_del_filteropts(int filt);
#else /* !_KERNEL */
OpenPOWER on IntegriCloud