summaryrefslogtreecommitdiffstats
path: root/sbin/setkey/setkey.c
diff options
context:
space:
mode:
authorkevlo <kevlo@FreeBSD.org>2007-11-07 10:53:41 +0000
committerkevlo <kevlo@FreeBSD.org>2007-11-07 10:53:41 +0000
commitfa3791e1a7df72dae386c39862c6dad9fb7a5304 (patch)
tree368b0b244e9ff1e4d1d1e563ee72dc5168999272 /sbin/setkey/setkey.c
parent350f518402f17e189d71fde9dc889b50554369e6 (diff)
downloadFreeBSD-src-fa3791e1a7df72dae386c39862c6dad9fb7a5304.zip
FreeBSD-src-fa3791e1a7df72dae386c39862c6dad9fb7a5304.tar.gz
Cleanup of userland __P use
Diffstat (limited to 'sbin/setkey/setkey.c')
-rw-r--r--sbin/setkey/setkey.c26
1 files changed, 13 insertions, 13 deletions
diff --git a/sbin/setkey/setkey.c b/sbin/setkey/setkey.c
index 9bb9a88..543f428 100644
--- a/sbin/setkey/setkey.c
+++ b/sbin/setkey/setkey.c
@@ -53,18 +53,18 @@
#include "libpfkey.h"
-void usage __P((void));
-int main __P((int, char **));
-int get_supported __P((void));
-void sendkeyshort __P((u_int));
-void promisc __P((void));
-int sendkeymsg __P((char *, size_t));
-int postproc __P((struct sadb_msg *, int));
-const char *numstr __P((int));
-void shortdump_hdr __P((void));
-void shortdump __P((struct sadb_msg *));
-static void printdate __P((void));
-static int32_t gmt2local __P((time_t));
+void usage(void);
+int main(int, char **);
+int get_supported(void);
+void sendkeyshort(u_int);
+void promisc(void);
+int sendkeymsg(char *, size_t);
+int postproc(struct sadb_msg *, int);
+const char *numstr(int);
+void shortdump_hdr(void);
+void shortdump(struct sadb_msg *);
+static void printdate(void);
+static int32_t gmt2local(time_t);
#define MODE_SCRIPT 1
#define MODE_CMDDUMP 2
@@ -85,7 +85,7 @@ static time_t thiszone;
extern int lineno;
-extern int parse __P((FILE **));
+extern int parse(FILE **);
void
usage()
OpenPOWER on IntegriCloud