summaryrefslogtreecommitdiff
path: root/sbin/dhclient/dhcpd.h
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2017-10-11 15:06:28 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2017-10-11 15:06:28 +0000
commit04ce6cf65cd440ae21c1b48a7485d0d1deda058a (patch)
tree72e5ab8a269e0a0867f81d4620ba014efdb69ff6 /sbin/dhclient/dhcpd.h
parente5891c43b3436d72e143003baf85c04ff0173c2f (diff)
Tweak parse_date() again, this time to factor
code in the same way as the other parse_*() functions. Whitespace fix in comment while passing. Also conform to idiom that original data is not changed in the error path.
Diffstat (limited to 'sbin/dhclient/dhcpd.h')
-rw-r--r--sbin/dhclient/dhcpd.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/dhclient/dhcpd.h b/sbin/dhclient/dhcpd.h
index e7321af8ae1..b6dfc022ac2 100644
--- a/sbin/dhclient/dhcpd.h
+++ b/sbin/dhclient/dhcpd.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: dhcpd.h,v 1.229 2017/10/09 21:33:11 krw Exp $ */
+/* $OpenBSD: dhcpd.h,v 1.230 2017/10/11 15:06:27 krw Exp $ */
/*
* Copyright (c) 2004 Henning Brauer <henning@openbsd.org>
@@ -186,7 +186,7 @@ int parse_lease_time(FILE *, time_t *);
int parse_decimal(FILE *, unsigned char *, char);
int parse_hex(FILE *, unsigned char *);
int parse_boolean(FILE *, unsigned char *);
-time_t parse_date(FILE *);
+int parse_date(FILE *, time_t *);
void parse_warn(char *);
/* bpf.c */