kevent() is not a POSIX cancellation point, so _kevent() need not be

defined.

Remove some unnecessary header file inclusions.
This commit is contained in:
Jason Evans 2000-08-08 00:12:35 +00:00
parent 8f18f09f14
commit f8842c0a18
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=64370

View File

@ -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