diff options
| author | 2004-05-04 20:28:40 +0000 | |
|---|---|---|
| committer | 2004-05-04 20:28:40 +0000 | |
| commit | 285f06ef7b7b14ca95ed83dd2532f00f3770f8b5 (patch) | |
| tree | 2b97994ffed59373af558805c7097d426af3ff82 /usr.sbin/dhcpd/parse.c | |
| parent | sync (diff) | |
| download | wireguard-openbsd-285f06ef7b7b14ca95ed83dd2532f00f3770f8b5.tar.xz wireguard-openbsd-285f06ef7b7b14ca95ed83dd2532f00f3770f8b5.zip | |
remove things not used, spotted by lint mostly; ok henning
Diffstat (limited to 'usr.sbin/dhcpd/parse.c')
| -rw-r--r-- | usr.sbin/dhcpd/parse.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/usr.sbin/dhcpd/parse.c b/usr.sbin/dhcpd/parse.c index 432da72185c..d02f1f1fb08 100644 --- a/usr.sbin/dhcpd/parse.c +++ b/usr.sbin/dhcpd/parse.c @@ -1,4 +1,4 @@ -/* $OpenBSD: parse.c,v 1.5 2004/04/18 00:43:27 deraadt Exp $ */ +/* $OpenBSD: parse.c,v 1.6 2004/05/04 20:28:40 deraadt Exp $ */ /* Common parser code for dhcpd and dhclient. */ @@ -188,16 +188,6 @@ parse_host_name(FILE *cfile) return (s); } -int -parse_ip_addr(FILE *cfile, struct iaddr *addr) -{ - addr->len = 4; - if (parse_numeric_aggregate(cfile, addr->iabuf, - &addr->len, DOT, 10, 8)) - return (1); - return (0); -} - /* * hardware-parameter :== HARDWARE ETHERNET csns SEMI * csns :== NUMBER | csns COLON NUMBER |
