summaryrefslogtreecommitdiff
path: root/usr.sbin/rtsold/rtsold.c
diff options
context:
space:
mode:
authorJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2002-05-31 10:11:15 +0000
committerJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2002-05-31 10:11:15 +0000
commit8be8ff7e8d00a9f4c84fa4f9e62223408fd96b24 (patch)
treebc46e27a67235cec0197d4d2af4702231ed0dadf /usr.sbin/rtsold/rtsold.c
parent4d373c4a676771041c805b6a2583e193324e6f8d (diff)
function prototypes shoulnd't carry variable name
Diffstat (limited to 'usr.sbin/rtsold/rtsold.c')
-rw-r--r--usr.sbin/rtsold/rtsold.c16
1 files changed, 7 insertions, 9 deletions
diff --git a/usr.sbin/rtsold/rtsold.c b/usr.sbin/rtsold/rtsold.c
index 26e2888396d..26ee569b51c 100644
--- a/usr.sbin/rtsold/rtsold.c
+++ b/usr.sbin/rtsold/rtsold.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rtsold.c,v 1.19 2002/05/31 09:53:26 deraadt Exp $ */
+/* $OpenBSD: rtsold.c,v 1.20 2002/05/31 10:11:14 itojun Exp $ */
/* $KAME: rtsold.c,v 1.32 2001/07/09 22:34:07 itojun Exp $ */
/*
@@ -88,19 +88,17 @@ static int mobile_node = 0;
volatile sig_atomic_t do_dump;
static char *dumpfilename = "/var/run/rtsold.dump"; /* XXX: should be configurable */
-static int ifconfig(char *ifname);
+static int ifconfig(char *);
#if 0
-static int ifreconfig(char *ifname);
+static int ifreconfig(char *);
#endif
-static int make_packet(struct ifinfo *ifinfo);
+static int make_packet(struct ifinfo *);
static struct timeval *rtsol_check_timer(void);
-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 TIMEVAL_ADD(struct timeval *, struct timeval *, struct timeval *);
+static void TIMEVAL_SUB(struct timeval *, struct timeval *, struct timeval *);
static void rtsold_set_dump_file(void);
-static void usage(char *progname);
+static void usage(char *);
static char **autoifprobe(void);
int