summaryrefslogtreecommitdiffstats
path: root/lib/libevent/event_tagging.c
diff options
context:
space:
mode:
authorbluhm <bluhm@openbsd.org>2014-10-17 19:16:01 +0000
committerbluhm <bluhm@openbsd.org>2014-10-17 19:16:01 +0000
commitdefc4074ccfc9c1a6ee37be0e276b56046842efa (patch)
tree3fe00d2a6e8afa6e1176df7ccd7ac073e5e1030c /lib/libevent/event_tagging.c
parentAlso remove trailing spaces from the CPU brand string. (diff)
downloadwireguard-openbsd-defc4074ccfc9c1a6ee37be0e276b56046842efa.tar.xz
wireguard-openbsd-defc4074ccfc9c1a6ee37be0e276b56046842efa.zip
Remove #ifdef HAVE_.*_H, just include the header files.
Do not include sys/param.h. OK nicm@
Diffstat (limited to 'lib/libevent/event_tagging.c')
-rw-r--r--lib/libevent/event_tagging.c13
1 files changed, 1 insertions, 12 deletions
diff --git a/lib/libevent/event_tagging.c b/lib/libevent/event_tagging.c
index 19d86184124..8afa55c1c88 100644
--- a/lib/libevent/event_tagging.c
+++ b/lib/libevent/event_tagging.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: event_tagging.c,v 1.6 2014/10/16 07:38:06 bluhm Exp $ */
+/* $OpenBSD: event_tagging.c,v 1.7 2014/10/17 19:16:01 bluhm Exp $ */
/*
* Copyright (c) 2003, 2004 Niels Provos <provos@citi.umich.edu>
@@ -27,28 +27,17 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
-#endif
-#ifdef HAVE_SYS_PARAM_H
-#include <sys/param.h>
-#endif
-
#include <sys/ioctl.h>
-
#include <sys/queue.h>
-#ifdef HAVE_SYS_TIME_H
#include <sys/time.h>
-#endif
#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <syslog.h>
-#ifdef HAVE_UNISTD_H
#include <unistd.h>
-#endif
#include "event.h"
#include "evutil.h"