summaryrefslogtreecommitdiff
path: root/usr.sbin/rtsold
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/rtsold')
-rw-r--r--usr.sbin/rtsold/if.c6
-rw-r--r--usr.sbin/rtsold/rtsold.c10
-rw-r--r--usr.sbin/rtsold/rtsold.h5
3 files changed, 10 insertions, 11 deletions
diff --git a/usr.sbin/rtsold/if.c b/usr.sbin/rtsold/if.c
index 9b52e09c1ed..f3b8f464b4f 100644
--- a/usr.sbin/rtsold/if.c
+++ b/usr.sbin/rtsold/if.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if.c,v 1.9 2002/02/16 21:28:09 millert Exp $ */
+/* $OpenBSD: if.c,v 1.10 2002/02/17 19:42:39 millert Exp $ */
/* $KAME: if.c,v 1.15 2001/05/22 06:04:17 jinmei Exp $ */
/*
@@ -80,8 +80,8 @@ static int get_llflag(const char *name);
#ifndef HAVE_GETIFADDRS
static unsigned int if_maxindex(void);
#endif
-static void get_rtaddrs __P((int addrs, struct sockaddr *sa,
- struct sockaddr **rti_info));
+static void get_rtaddrs(int addrs, struct sockaddr *sa,
+ struct sockaddr **rti_info);
int
ifinit()
diff --git a/usr.sbin/rtsold/rtsold.c b/usr.sbin/rtsold/rtsold.c
index bfa8a7bd2f9..2e91c2f7e58 100644
--- a/usr.sbin/rtsold/rtsold.c
+++ b/usr.sbin/rtsold/rtsold.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rtsold.c,v 1.15 2002/02/16 21:28:09 millert Exp $ */
+/* $OpenBSD: rtsold.c,v 1.16 2002/02/17 19:42:39 millert Exp $ */
/* $KAME: rtsold.c,v 1.32 2001/07/09 22:34:07 itojun Exp $ */
/*
@@ -96,10 +96,10 @@ static int ifreconfig(char *ifname);
#endif
static int make_packet(struct ifinfo *ifinfo);
static struct timeval *rtsol_check_timer(void);
-static void TIMEVAL_ADD __P((struct timeval *a, struct timeval *b,
- struct timeval *result));
-static void TIMEVAL_SUB __P((struct timeval *a, struct timeval *b,
- struct timeval *result));
+static void TIMEVAL_ADD(struct timeval *a, struct timeval *b,
+ struct timeval *result);
+static void TIMEVAL_SUB(struct timeval *a, struct timeval *b,
+ struct timeval *result);
static void rtsold_set_dump_file(void);
static void usage(char *progname);
diff --git a/usr.sbin/rtsold/rtsold.h b/usr.sbin/rtsold/rtsold.h
index 6c4a719c564..15dd80bdf7c 100644
--- a/usr.sbin/rtsold/rtsold.h
+++ b/usr.sbin/rtsold/rtsold.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: rtsold.h,v 1.7 2002/02/16 21:28:09 millert Exp $ */
+/* $OpenBSD: rtsold.h,v 1.8 2002/02/17 19:42:39 millert Exp $ */
/* $KAME: rtsold.h,v 1.11 2000/10/10 06:18:04 itojun Exp $ */
/*
@@ -72,8 +72,7 @@ extern int ifinit(void);
extern int interface_up(char *name);
extern int interface_status(struct ifinfo*);
extern int lladdropt_length(struct sockaddr_dl *sdl);
-extern void lladdropt_fill __P((struct sockaddr_dl *sdl,
- struct nd_opt_hdr *ndopt));
+extern void lladdropt_fill(struct sockaddr_dl *sdl, struct nd_opt_hdr *ndopt);
extern struct sockaddr_dl *if_nametosdl(char *name);
extern int getinet6sysctl(int code);