diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2004-02-23 20:09:03 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2004-02-23 20:09:03 +0000 |
commit | b8d587ae1d792a414ad08ab28ec3dcfe0b4e7076 (patch) | |
tree | 2e5421540092bd7ca2810ed15d1cf51a47d99760 /sbin/dhclient/dispatch.c | |
parent | 02a010c7592c7087bd8e0d8dae930ae6fddb9e17 (diff) |
remove time_t related crud; henning ok
Diffstat (limited to 'sbin/dhclient/dispatch.c')
-rw-r--r-- | sbin/dhclient/dispatch.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sbin/dhclient/dispatch.c b/sbin/dhclient/dispatch.c index 8cd0b500029..c293f3c9896 100644 --- a/sbin/dhclient/dispatch.c +++ b/sbin/dhclient/dispatch.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dispatch.c,v 1.10 2004/02/23 19:19:12 henning Exp $ */ +/* $OpenBSD: dispatch.c,v 1.11 2004/02/23 20:09:02 deraadt Exp $ */ /* Network input dispatcher... */ @@ -364,7 +364,7 @@ another: /* Not likely to be transitory... */ if (count == -1) { if (errno == EAGAIN || errno == EINTR) { - GET_TIME(&cur_time); + time(&cur_time); continue; } else @@ -372,7 +372,7 @@ another: } /* Get the current time... */ - GET_TIME(&cur_time); + time(&cur_time); i = 0; for (l = protocols; l; l = l->next) { @@ -500,7 +500,7 @@ active: } void -add_timeout(TIME when, void (*where)(void *), void *what) +add_timeout(time_t when, void (*where)(void *), void *what) { struct timeout *t, *q; |