summaryrefslogtreecommitdiffstats
path: root/lib/libevent/kqueue.c
diff options
context:
space:
mode:
authorbluhm <bluhm@openbsd.org>2014-10-18 16:48:28 +0000
committerbluhm <bluhm@openbsd.org>2014-10-18 16:48:28 +0000
commit44e30b10372d07959035c45ba62dee4130f51c99 (patch)
tree4ede9e2f9b3d308b062091b3a54aca2335b1ad30 /lib/libevent/kqueue.c
parentUse arc4random_buf() instead of RAND_bytes() or RAND_pseudo_bytes(). (diff)
downloadwireguard-openbsd-44e30b10372d07959035c45ba62dee4130f51c99.tar.xz
wireguard-openbsd-44e30b10372d07959035c45ba62dee4130f51c99.zip
Remove the remaining #ifdef HAVE_ and the #define _GNU_SOURCE.
OK nicm@
Diffstat (limited to 'lib/libevent/kqueue.c')
-rw-r--r--lib/libevent/kqueue.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/libevent/kqueue.c b/lib/libevent/kqueue.c
index 773f08ab389..7960c0c9146 100644
--- a/lib/libevent/kqueue.c
+++ b/lib/libevent/kqueue.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kqueue.c,v 1.31 2014/10/17 19:16:01 bluhm Exp $ */
+/* $OpenBSD: kqueue.c,v 1.32 2014/10/18 16:48:28 bluhm Exp $ */
/*
* Copyright 2000-2002 Niels Provos <provos@citi.umich.edu>
@@ -27,8 +27,6 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#define _GNU_SOURCE 1
-
#include <sys/types.h>
#include <sys/time.h>
#include <sys/queue.h>