From 1153967520b975fb47672c7ecd453af52b991bab Mon Sep 17 00:00:00 2001 From: Kenneth R Westerback Date: Thu, 4 Jan 2018 03:02:06 +0000 Subject: parse_lease_time() is an unnecessary abstraction. Just use parse_number('L') since it is parsing unsigned 32bit integers. --- sbin/dhclient/dhcpd.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'sbin/dhclient/dhcpd.h') 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 @@ -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 *); -- cgit v1.2.3