#ifndef lint
static char copyright[] =
-"$Id: dispatch.c,v 1.33 1997/02/22 12:26:41 mellon Exp $ Copyright (c) 1995, 1996 The Internet Software Consortium. All rights reserved.\n";
+"$Id: dispatch.c,v 1.34 1997/02/26 18:24:40 mellon Exp $ Copyright (c) 1995, 1996 The Internet Software Consortium. All rights reserved.\n";
#endif /* not lint */
#include "dhcpd.h"
void add_timeout (when, where, what)
TIME when;
- void (*where) (struct interface_info *);
+ void (*where) PROTO ((struct interface_info *));
struct interface_info *what;
{
struct timeout *t, *q;
}
void cancel_timeout (where, what)
- void (*where) (struct interface_info *);
+ void (*where) PROTO ((struct interface_info *));
struct interface_info *what;
{
struct timeout *t, *q;
struct timeout {
struct timeout *next;
TIME when;
- void (*func)(struct interface_info *);
+ void (*func) PROTO ((struct interface_info *));
struct interface_info *interface;
};
unsigned char *, int,
unsigned short, struct iaddr, struct hardware *));
int locate_network PROTO ((struct packet *));
-void add_timeout PROTO ((TIME, void (*) (struct interface_info *),
+void add_timeout PROTO ((TIME, void (*) PROTO ((struct interface_info *)),
struct interface_info *));
-void cancel_timeout PROTO ((void (*) (struct interface_info *),
+void cancel_timeout PROTO ((void (*) PROTO ((struct interface_info *)),
struct interface_info *));
/* hash.c */