diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2018-01-04 03:02:06 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2018-01-04 03:02:06 +0000 |
commit | 1153967520b975fb47672c7ecd453af52b991bab (patch) | |
tree | d560a378091c25299616b436ba3546659220de76 /sbin/dhclient/dhcpd.h | |
parent | 7de4a9d1e247c020890d3c4791ccf1d59b93b0ed (diff) |
parse_lease_time() is an unnecessary abstraction. Just use
parse_number('L') since it is parsing unsigned 32bit integers.
Diffstat (limited to 'sbin/dhclient/dhcpd.h')
-rw-r--r-- | sbin/dhclient/dhcpd.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sbin/dhclient/dhcpd.h b/sbin/dhclient/dhcpd.h index 6dec72fe4ac..7e31a0ac6b7 100644 --- a/sbin/dhclient/dhcpd.h +++ b/sbin/dhclient/dhcpd.h @@ -1,4 +1,4 @@ -/* $OpenBSD: dhcpd.h,v 1.244 2018/01/04 02:27:55 krw Exp $ */ +/* $OpenBSD: dhcpd.h,v 1.245 2018/01/04 03:02:05 krw Exp $ */ /* * Copyright (c) 2004 Henning Brauer <henning@openbsd.org> @@ -180,7 +180,6 @@ int parse_semi(FILE *); int parse_string(FILE *, unsigned int *, char **); int parse_ip_addr(FILE *, struct in_addr *); int parse_cidr(FILE *, unsigned char *); -int parse_lease_time(FILE *, time_t *); int parse_number(FILE *, unsigned char *, char); int parse_boolean(FILE *, unsigned char *); void parse_warn(char *); |