summaryrefslogtreecommitdiffstats
path: root/sbin/setkey/parse.y
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/parse.y
parent350f518402f17e189d71fde9dc889b50554369e6 (diff)
downloadFreeBSD-src-fa3791e1a7df72dae386c39862c6dad9fb7a5304.zip
FreeBSD-src-fa3791e1a7df72dae386c39862c6dad9fb7a5304.tar.gz
Cleanup of userland __P use
Diffstat (limited to 'sbin/setkey/parse.y')
-rw-r--r--sbin/setkey/parse.y38
1 files changed, 19 insertions, 19 deletions
diff --git a/sbin/setkey/parse.y b/sbin/setkey/parse.y
index 85f4fab..8123a75 100644
--- a/sbin/setkey/parse.y
+++ b/sbin/setkey/parse.y
@@ -64,25 +64,25 @@ time_t p_lt_hard, p_lt_soft;
static int p_aiflags = 0, p_aifamily = PF_UNSPEC;
-static struct addrinfo *parse_addr __P((char *, char *));
-static int fix_portstr __P((vchar_t *, vchar_t *, vchar_t *));
-static int setvarbuf __P((char *, int *, struct sadb_ext *, int, caddr_t, int));
-void parse_init __P((void));
-void free_buffer __P((void));
-
-int setkeymsg0 __P((struct sadb_msg *, unsigned int, unsigned int, size_t));
-static int setkeymsg_spdaddr __P((unsigned int, unsigned int, vchar_t *,
- struct addrinfo *, int, struct addrinfo *, int));
-static int setkeymsg_addr __P((unsigned int, unsigned int,
- struct addrinfo *, struct addrinfo *, int));
-static int setkeymsg_add __P((unsigned int, unsigned int,
- struct addrinfo *, struct addrinfo *));
-extern int setkeymsg __P((char *, size_t *));
-extern int sendkeymsg __P((char *, size_t));
-
-extern int yylex __P((void));
-extern void yyfatal __P((const char *));
-extern void yyerror __P((const char *));
+static struct addrinfo *parse_addr(char *, char *);
+static int fix_portstr(vchar_t *, vchar_t *, vchar_t *);
+static int setvarbuf(char *, int *, struct sadb_ext *, int, caddr_t, int);
+void parse_init(void);
+void free_buffer(void);
+
+int setkeymsg0(struct sadb_msg *, unsigned int, unsigned int, size_t);
+static int setkeymsg_spdaddr(unsigned int, unsigned int, vchar_t *,
+ struct addrinfo *, int, struct addrinfo *, int);
+static int setkeymsg_addr(unsigned int, unsigned int,
+ struct addrinfo *, struct addrinfo *, int);
+static int setkeymsg_add(unsigned int, unsigned int,
+ struct addrinfo *, struct addrinfo *);
+extern int setkeymsg(char *, size_t *);
+extern int sendkeymsg(char *, size_t);
+
+extern int yylex(void);
+extern void yyfatal(const char *);
+extern void yyerror(const char *);
%}
%union {
OpenPOWER on IntegriCloud