svn commit: r311772 - stable/10/sys/sys
Konstantin Belousov
kib at FreeBSD.org
Mon Jan 9 10:13:54 UTC 2017
Author: kib
Date: Mon Jan 9 10:13:53 2017
New Revision: 311772
URL: https://svnweb.freebsd.org/changeset/base/311772
Log:
MFC r311055:
Remove unneeded externs keywords. Reindent long lines.
Modified:
stable/10/sys/sys/event.h
Directory Properties:
stable/10/ (props changed)
Modified: stable/10/sys/sys/event.h
==============================================================================
--- stable/10/sys/sys/event.h Mon Jan 9 09:57:34 2017 (r311771)
+++ stable/10/sys/sys/event.h Mon Jan 9 10:13:53 2017 (r311772)
@@ -253,29 +253,29 @@ 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 void knlist_add(struct knlist *knl, struct knote *kn, int islocked);
-extern void knlist_remove(struct knlist *knl, struct knote *kn, int islocked);
-extern void knlist_remove_inevent(struct knlist *knl, struct knote *kn);
-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,
+void knote(struct knlist *list, long hint, int lockflags);
+void knote_fork(struct knlist *list, int pid);
+void knlist_add(struct knlist *knl, struct knote *kn, int islocked);
+void knlist_remove(struct knlist *knl, struct knote *kn, int islocked);
+void knlist_remove_inevent(struct knlist *knl, struct knote *kn);
+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 */
More information about the svn-src-stable
mailing list