From fc5a57416d22a1e47cf3b2a356285f19f255d9b3 Mon Sep 17 00:00:00 2001 From: jasone Date: Tue, 8 Aug 2000 00:12:35 +0000 Subject: kevent() is not a POSIX cancellation point, so _kevent() need not be defined. Remove some unnecessary header file inclusions. --- lib/libc_r/uthread/uthread_kevent.c | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'lib/libc_r/uthread/uthread_kevent.c') 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 #include -#include #include #include -#include #include #ifdef _THREAD_SAFE #include #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 -- cgit v1.1