summaryrefslogtreecommitdiff
path: root/sbin/ipsecadm
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2002-07-03 22:32:35 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2002-07-03 22:32:35 +0000
commita9a4354fed4cec65ca359fe04095a7a7d4823a8a (patch)
tree0fedc69061ae9a279d3db23f185ff0b038a706d9 /sbin/ipsecadm
parent4c287e033bc1d7be66ec3f6c6735246a781a9e08 (diff)
ansi
Diffstat (limited to 'sbin/ipsecadm')
-rw-r--r--sbin/ipsecadm/ipsecadm.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/ipsecadm/ipsecadm.c b/sbin/ipsecadm/ipsecadm.c
index 74f9acdd64c..a19735a4d2f 100644
--- a/sbin/ipsecadm/ipsecadm.c
+++ b/sbin/ipsecadm/ipsecadm.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ipsecadm.c,v 1.63 2001/12/01 19:05:01 deraadt Exp $ */
+/* $OpenBSD: ipsecadm.c,v 1.64 2002/07/03 22:32:33 deraadt Exp $ */
/*
* The authors of this code are John Ioannidis (ji@tla.org),
* Angelos D. Keromytis (kermit@csd.uch.gr) and
@@ -260,7 +260,7 @@ gotit:
}
void
-usage()
+usage(void)
{
fprintf(stderr, "usage: ipsecadm [command] <modifier...>\n"
"\tCommands: new esp, old esp, new ah, old ah, group, delspi, ip4, ipcomp,\n"
@@ -305,7 +305,7 @@ usage()
}
int
-main(int argc, char **argv)
+main(int argc, char *argv[])
{
int auth = 0, enc = 0, klen = 0, alen = 0, mode = ESP_NEW, i = 0;
int proto = IPPROTO_ESP, proto2 = IPPROTO_AH, sproto2 = SADB_SATYPE_AH;