aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/sys/kevent.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/sys/kevent.c')
-rw-r--r--lib/libc/sys/kevent.c11
1 files changed, 2 insertions, 9 deletions
diff --git a/lib/libc/sys/kevent.c b/lib/libc/sys/kevent.c
index 5f84ef8b10a6..f16ac89a36c6 100644
--- a/lib/libc/sys/kevent.c
+++ b/lib/libc/sys/kevent.c
@@ -1,6 +1,5 @@
/*
* Copyright (c) 2015 The FreeBSD Foundation.
- * All rights reserved.
*
* Portions of this software were developed by Konstantin Belousov
* under sponsorship from the FreeBSD Foundation.
@@ -30,9 +29,6 @@
* EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#include <sys/cdefs.h>
-__FBSDID("$FreeBSD$");
-
#include <sys/types.h>
#include <sys/event.h>
#include <sys/time.h>
@@ -45,9 +41,6 @@ int
kevent(int kq, const struct kevent *changelist, int nchanges,
struct kevent *eventlist, int nevents, const struct timespec *timeout)
{
-
- return (((int (*)(int, const struct kevent *, int,
- struct kevent *, int, const struct timespec *))
- __libc_interposing[INTERPOS_kevent])(kq, changelist, nchanges,
- eventlist, nevents, timeout));
+ return (INTERPOS_SYS(kevent, kq, changelist, nchanges, eventlist,
+ nevents, timeout));
}