kevent() is not a POSIX cancellation point, so _kevent() need not be
defined. Remove some unnecessary header file inclusions.
This commit is contained in:
parent
8f18f09f14
commit
f8842c0a18
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user