summaryrefslogtreecommitdiff
path: root/sbin/ipsecctl
diff options
context:
space:
mode:
authorHans-Joerg Hoexer <hshoexer@cvs.openbsd.org>2006-02-01 12:38:48 +0000
committerHans-Joerg Hoexer <hshoexer@cvs.openbsd.org>2006-02-01 12:38:48 +0000
commit9b993c6aa4481a2c34fb2ef6bb1fc05ea7bcaab3 (patch)
treef2abbbba3cbd04b889eb5c7832b49579bcd6e9c4 /sbin/ipsecctl
parent5f379677f17a80f4b27477830986d7025d951e63 (diff)
noted by lint: include <string.h> instead of <strings.h>, add tow ARGSUSED1
Diffstat (limited to 'sbin/ipsecctl')
-rw-r--r--sbin/ipsecctl/ipsecctl.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sbin/ipsecctl/ipsecctl.c b/sbin/ipsecctl/ipsecctl.c
index 9dc8274355c..e450942e38e 100644
--- a/sbin/ipsecctl/ipsecctl.c
+++ b/sbin/ipsecctl/ipsecctl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ipsecctl.c,v 1.41 2006/01/17 05:39:23 reyk Exp $ */
+/* $OpenBSD: ipsecctl.c,v 1.42 2006/02/01 12:38:47 hshoexer Exp $ */
/*
* Copyright (c) 2004, 2005 Hans-Joerg Hoexer <hshoexer@openbsd.org>
*
@@ -33,7 +33,7 @@
#include <netdb.h>
#include <stdio.h>
#include <stdlib.h>
-#include <strings.h>
+#include <string.h>
#include <unistd.h>
#include "ipsecctl.h"
@@ -268,6 +268,7 @@ ipsecctl_print_flow(struct ipsec_rule *r, int opts)
printf("\n");
}
+/* ARGSUSED1 */
void
ipsecctl_print_sa(struct ipsec_rule *r, int opts)
{
@@ -579,6 +580,7 @@ main(int argc, char *argv[])
exit(error);
}
+/* ARGSUSED1 */
static int
unmask(struct ipsec_addr *ipa, sa_family_t af)
{