summaryrefslogtreecommitdiffstats
path: root/usr.sbin/dhcpd/dispatch.c
diff options
context:
space:
mode:
authorhenning <henning@openbsd.org>2004-04-14 00:56:02 +0000
committerhenning <henning@openbsd.org>2004-04-14 00:56:02 +0000
commit3c41e82c680c97a95cf3fb06da0e74c82dca00c9 (patch)
treef9fe36d07fc2c4fc665f0665b51b70aea7678eb4 /usr.sbin/dhcpd/dispatch.c
parentbye bye (diff)
downloadwireguard-openbsd-3c41e82c680c97a95cf3fb06da0e74c82dca00c9.tar.xz
wireguard-openbsd-3c41e82c680c97a95cf3fb06da0e74c82dca00c9.zip
more crap bites the dust
Diffstat (limited to 'usr.sbin/dhcpd/dispatch.c')
-rw-r--r--usr.sbin/dhcpd/dispatch.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/usr.sbin/dhcpd/dispatch.c b/usr.sbin/dhcpd/dispatch.c
index 4d1dd65a6b2..df01e73fb71 100644
--- a/usr.sbin/dhcpd/dispatch.c
+++ b/usr.sbin/dhcpd/dispatch.c
@@ -55,9 +55,8 @@ struct protocol *protocols;
struct timeout *timeouts;
static struct timeout *free_timeouts;
static int interfaces_invalidated;
-void (*bootp_packet_handler) PROTO ((struct interface_info *,
- struct dhcp_packet *, int, unsigned int,
- struct iaddr, struct hardware *));
+void (*bootp_packet_handler)(struct interface_info *,
+ struct dhcp_packet *, int, unsigned int, struct iaddr, struct hardware *);
static int interface_status(struct interface_info *ifinfo);
@@ -542,7 +541,7 @@ int locate_network (packet)
void add_timeout (when, where, what)
time_t when;
- void (*where) PROTO ((void *));
+ void (*where)(void *);
void *what;
{
struct timeout *t, *q;
@@ -603,7 +602,7 @@ void add_timeout (when, where, what)
}
void cancel_timeout (where, what)
- void (*where) PROTO ((void *));
+ void (*where)(void *);
void *what;
{
struct timeout *t, *q;
@@ -632,7 +631,7 @@ void cancel_timeout (where, what)
void add_protocol (name, fd, handler, local)
char *name;
int fd;
- void (*handler) PROTO ((struct protocol *));
+ void (*handler)(struct protocol *);
void *local;
{
struct protocol *p;