summaryrefslogtreecommitdiff
path: root/sbin/dhclient/parse.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2004-02-23 20:09:03 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2004-02-23 20:09:03 +0000
commitb8d587ae1d792a414ad08ab28ec3dcfe0b4e7076 (patch)
tree2e5421540092bd7ca2810ed15d1cf51a47d99760 /sbin/dhclient/parse.c
parent02a010c7592c7087bd8e0d8dae930ae6fddb9e17 (diff)
remove time_t related crud; henning ok
Diffstat (limited to 'sbin/dhclient/parse.c')
-rw-r--r--sbin/dhclient/parse.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/dhclient/parse.c b/sbin/dhclient/parse.c
index c166a0bafc5..b270a843d8a 100644
--- a/sbin/dhclient/parse.c
+++ b/sbin/dhclient/parse.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: parse.c,v 1.5 2004/02/07 13:59:45 henning Exp $ */
+/* $OpenBSD: parse.c,v 1.6 2004/02/23 20:09:02 deraadt Exp $ */
/* Common parser code for dhcpd and dhclient. */
@@ -266,7 +266,7 @@ parse_hardware_param(FILE *cfile, struct hardware *hardware)
* lease-time :== NUMBER SEMI
*/
void
-parse_lease_time(FILE *cfile, TIME *timep)
+parse_lease_time(FILE *cfile, time_t *timep)
{
char *val;
int token;
@@ -486,7 +486,7 @@ convert_num(unsigned char *buf, char *str, int base, int size)
* year/month/day; next is hours:minutes:seconds on a 24-hour
* clock.
*/
-TIME
+time_t
parse_date(FILE *cfile)
{
struct tm tm;