diff options
Diffstat (limited to 'lib/libipsec/policy_parse.y')
-rw-r--r-- | lib/libipsec/policy_parse.y | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/lib/libipsec/policy_parse.y b/lib/libipsec/policy_parse.y index e36d7b7..c7788f5 100644 --- a/lib/libipsec/policy_parse.y +++ b/lib/libipsec/policy_parse.y @@ -75,18 +75,18 @@ static struct sockaddr *p_src = NULL; static struct sockaddr *p_dst = NULL; struct _val; -extern void yyerror __P((char *msg)); -static struct sockaddr *parse_sockaddr __P((struct _val *buf)); -static int rule_check __P((void)); -static int init_x_policy __P((void)); -static int set_x_request __P((struct sockaddr *src, struct sockaddr *dst)); -static int set_sockaddr __P((struct sockaddr *addr)); -static void policy_parse_request_init __P((void)); -static caddr_t policy_parse __P((char *msg, int msglen)); - -extern void __policy__strbuffer__init__ __P((char *msg)); -extern int yyparse __P((void)); -extern int yylex __P((void)); +extern void yyerror(char *msg); +static struct sockaddr *parse_sockaddr(struct _val *buf); +static int rule_check(void); +static int init_x_policy(void); +static int set_x_request(struct sockaddr *src, struct sockaddr *dst); +static int set_sockaddr(struct sockaddr *addr); +static void policy_parse_request_init(void); +static caddr_t policy_parse(char *msg, int msglen); + +extern void __policy__strbuffer__init__(char *msg); +extern int yyparse(void); +extern int yylex(void); %} |