summaryrefslogtreecommitdiffstats
path: root/sys/kern/clock_subr.c
diff options
context:
space:
mode:
authorjsg <jsg@openbsd.org>2015-03-14 03:38:46 +0000
committerjsg <jsg@openbsd.org>2015-03-14 03:38:46 +0000
commit21dab745d772244ad59a415114e48be2888cfbc8 (patch)
tree0cf0a65bda8999c8207ac27cc59ed638fb036bb5 /sys/kern/clock_subr.c
parentMove the command line options (mainly -d and -v) out of struct bgpd_config (diff)
downloadwireguard-openbsd-21dab745d772244ad59a415114e48be2888cfbc8.tar.xz
wireguard-openbsd-21dab745d772244ad59a415114e48be2888cfbc8.zip
Remove some includes include-what-you-use claims don't
have any direct symbols used. Tested for indirect use by compiling amd64/i386/sparc64 kernels. ok tedu@ deraadt@
Diffstat (limited to 'sys/kern/clock_subr.c')
-rw-r--r--sys/kern/clock_subr.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/kern/clock_subr.c b/sys/kern/clock_subr.c
index 8bb8cd4030a..7b07e214c8b 100644
--- a/sys/kern/clock_subr.c
+++ b/sys/kern/clock_subr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: clock_subr.c,v 1.4 2014/04/03 22:19:27 tedu Exp $ */
+/* $OpenBSD: clock_subr.c,v 1.5 2015/03/14 03:38:50 jsg Exp $ */
/* $NetBSD: clock_subr.c,v 1.3 1997/03/15 18:11:16 is Exp $ */
/*
@@ -48,8 +48,6 @@
#include <sys/types.h>
#include <sys/systm.h>
-#include <dev/clock_subr.h>
-
static inline int leapyear(int year);
#define FEBRUARY 2
#define days_in_year(a) (leapyear(a) ? 366 : 365)