summaryrefslogtreecommitdiff
path: root/sbin/dhclient/dhcpd.h
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2019-01-14 04:05:43 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2019-01-14 04:05:43 +0000
commit6ca3de237184ec8f8cc312fec804310efd1a381c (patch)
tree595c64819c6be0dbc8f19e432b86e4e91e9643c5 /sbin/dhclient/dhcpd.h
parent65b166d4d88387ba454e5b37046e5f20cc6ce766 (diff)
Abstract allocation and initialization of config global
variable into init_config() and just call it from read_conf().
Diffstat (limited to 'sbin/dhclient/dhcpd.h')
-rw-r--r--sbin/dhclient/dhcpd.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sbin/dhclient/dhcpd.h b/sbin/dhclient/dhcpd.h
index 9a71f79dda9..a1af70e9a70 100644
--- a/sbin/dhclient/dhcpd.h
+++ b/sbin/dhclient/dhcpd.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: dhcpd.h,v 1.266 2019/01/14 03:05:33 krw Exp $ */
+/* $OpenBSD: dhcpd.h,v 1.267 2019/01/14 04:05:42 krw Exp $ */
/*
* Copyright (c) 2004 Henning Brauer <henning@openbsd.org>
@@ -233,6 +233,7 @@ uint32_t checksum(unsigned char *, uint32_t, uint32_t);
uint32_t wrapsum(uint32_t);
/* clparse.c */
+void init_config(void);
void read_conf(char *);
void read_lease_db(char *, struct client_lease_tq *);
void apply_ignore_list(char *);