diff options
author | jasone <jasone@FreeBSD.org> | 2000-08-08 00:12:35 +0000 |
---|---|---|
committer | jasone <jasone@FreeBSD.org> | 2000-08-08 00:12:35 +0000 |
commit | fc5a57416d22a1e47cf3b2a356285f19f255d9b3 (patch) | |
tree | 6bbcb1bbc8b849a6d98f9ea601a2457f4e487cdb | |
parent | 389cbb66e5fa4181811ab4666c893859b8747a61 (diff) | |
download | FreeBSD-src-fc5a57416d22a1e47cf3b2a356285f19f255d9b3.zip FreeBSD-src-fc5a57416d22a1e47cf3b2a356285f19f255d9b3.tar.gz |
kevent() is not a POSIX cancellation point, so _kevent() need not be
defined.
Remove some unnecessary header file inclusions.
-rw-r--r-- | lib/libc_r/uthread/uthread_kevent.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/lib/libc_r/uthread/uthread_kevent.c b/lib/libc_r/uthread/uthread_kevent.c index 56e2798..796c12c 100644 --- a/lib/libc_r/uthread/uthread_kevent.c +++ b/lib/libc_r/uthread/uthread_kevent.c @@ -28,19 +28,16 @@ #include <unistd.h> #include <errno.h> -#include <string.h> #include <sys/types.h> #include <sys/time.h> -#include <sys/fcntl.h> #include <sys/event.h> #ifdef _THREAD_SAFE #include <pthread.h> #include "pthread_private.h" - int -_kevent(int kq, const struct kevent *changelist, int nchanges, - struct kevent *eventlist, int nevents, const struct timespec *timeout) +kevent(int kq, const struct kevent *changelist, int nchanges, + struct kevent *eventlist, int nevents, const struct timespec *timeout) { struct timespec nullts = { 0, 0 }; int rc; @@ -75,6 +72,4 @@ _kevent(int kq, const struct kevent *changelist, int nchanges, } return (rc); } - -__strong_reference(_kevent, kevent); #endif |