summaryrefslogtreecommitdiff
path: root/sbin/isakmpd/isakmpd.c
diff options
context:
space:
mode:
authorHakan Olsson <ho@cvs.openbsd.org>2001-07-05 12:37:06 +0000
committerHakan Olsson <ho@cvs.openbsd.org>2001-07-05 12:37:06 +0000
commit4d054eb4744e3933df6e31b5a2890861f0bea535 (patch)
tree5093771e2a2e4655a5adb308ceb73f3639a1175f /sbin/isakmpd/isakmpd.c
parentbccfd06344337d5cc1a5b43214e0b384da9fdb6d (diff)
Add prototypes and some other various cleanup.
Diffstat (limited to 'sbin/isakmpd/isakmpd.c')
-rw-r--r--sbin/isakmpd/isakmpd.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sbin/isakmpd/isakmpd.c b/sbin/isakmpd/isakmpd.c
index 18f77bba9fc..4c7f8fbf866 100644
--- a/sbin/isakmpd/isakmpd.c
+++ b/sbin/isakmpd/isakmpd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: isakmpd.c,v 1.32 2001/07/01 19:59:13 niklas Exp $ */
+/* $OpenBSD: isakmpd.c,v 1.33 2001/07/05 12:36:53 ho Exp $ */
/* $EOM: isakmpd.c,v 1.54 2000/10/05 09:28:22 niklas Exp $ */
/*
@@ -65,6 +65,8 @@
#include "policy.h"
#endif
+static void usage (void);
+
/*
* Set if -d is given, currently just for running in the foreground and log
* to stderr instead of syslog.
@@ -101,7 +103,7 @@ static char *pcap_file = 0;
static int sigusr2ed = 0;
static void
-usage ()
+usage (void)
{
fprintf (stderr,
"usage: %s [-c config-file] [-d] [-D class=level] [-f fifo]\n"