summaryrefslogtreecommitdiff
path: root/usr.sbin/dhcpd/dispatch.c
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2004-04-13 23:57:50 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2004-04-13 23:57:50 +0000
commit80b5b9901c305254d64ef97baef59eaa1bd1e792 (patch)
treea81be1dd0449e5eb98cadaf0c11865235d8d9ddc /usr.sbin/dhcpd/dispatch.c
parentd4e911c1cc791c196fcb9c9d13ec28a25e63053f (diff)
time_t and kill a few dumb defines
Diffstat (limited to 'usr.sbin/dhcpd/dispatch.c')
-rw-r--r--usr.sbin/dhcpd/dispatch.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/dhcpd/dispatch.c b/usr.sbin/dhcpd/dispatch.c
index 89a2f626ecd..4d1dd65a6b2 100644
--- a/usr.sbin/dhcpd/dispatch.c
+++ b/usr.sbin/dhcpd/dispatch.c
@@ -382,7 +382,7 @@ void dispatch ()
/* Not likely to be transitory... */
if (count == -1) {
if (errno == EAGAIN || errno == EINTR) {
- GET_TIME (&cur_time);
+ time(&cur_time);
continue;
}
else
@@ -390,7 +390,7 @@ void dispatch ()
}
/* Get the current time... */
- GET_TIME (&cur_time);
+ time(&cur_time);
i = 0;
for (l = protocols; l; l = l -> next) {
@@ -541,7 +541,7 @@ int locate_network (packet)
}
void add_timeout (when, where, what)
- TIME when;
+ time_t when;
void (*where) PROTO ((void *));
void *what;
{