summaryrefslogtreecommitdiffstats
path: root/usr.sbin/bind/lib/isccfg/parser.c
diff options
context:
space:
mode:
authorflorian <florian@openbsd.org>2020-02-04 19:13:02 +0000
committerflorian <florian@openbsd.org>2020-02-04 19:13:02 +0000
commit6cce272f704c00be5134a8a62eb3c445cba2c305 (patch)
treeb9b156004d6d9a924edf0b128393e517260ec6fc /usr.sbin/bind/lib/isccfg/parser.c
parentGet rid of getopt(3) compat code. (diff)
downloadwireguard-openbsd-6cce272f704c00be5134a8a62eb3c445cba2c305.tar.xz
wireguard-openbsd-6cce272f704c00be5134a8a62eb3c445cba2c305.zip
Remove unused typedefs that got left behind in previous
shreddings from types.h and get rid of offset.h while here by just using off_t in the one place where it's needed. However offset.h brought in limits.h and sys/types.h so sprinkle some includes over the tree to have various _MAX and intX_t defined.
Diffstat (limited to 'usr.sbin/bind/lib/isccfg/parser.c')
-rw-r--r--usr.sbin/bind/lib/isccfg/parser.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/usr.sbin/bind/lib/isccfg/parser.c b/usr.sbin/bind/lib/isccfg/parser.c
index a08a297e133..3471c609017 100644
--- a/usr.sbin/bind/lib/isccfg/parser.c
+++ b/usr.sbin/bind/lib/isccfg/parser.c
@@ -16,20 +16,17 @@
/*! \file */
-
-
+#include <limits.h>
#include <stdlib.h>
+#include <string.h>
#include <isc/buffer.h>
#include <isc/formatcheck.h>
#include <isc/lex.h>
#include <isc/log.h>
-
#include <isc/net.h>
#include <isc/netaddr.h>
#include <isc/netscope.h>
-
-#include <string.h>
#include <isc/sockaddr.h>
#include <isc/symtab.h>
#include <isc/util.h>