Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libipsec remove redundant declaration of yyparse.



details:   https://anonhg.NetBSD.org/src/rev/06e395c3ec62
branches:  trunk
changeset: 503304:06e395c3ec62
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Feb 04 19:50:51 2001 +0000

description:
remove redundant declaration of yyparse.

diffstat:

 lib/libipsec/policy_parse.y |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (31 lines):

diff -r e4092a61375a -r 06e395c3ec62 lib/libipsec/policy_parse.y
--- a/lib/libipsec/policy_parse.y       Sun Feb 04 19:50:26 2001 +0000
+++ b/lib/libipsec/policy_parse.y       Sun Feb 04 19:50:51 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: policy_parse.y,v 1.3 2000/06/12 10:40:52 itojun Exp $  */
+/*     $NetBSD: policy_parse.y,v 1.4 2001/02/04 19:50:51 christos Exp $        */
 /*     $KAME: policy_parse.y,v 1.10 2000/05/07 05:25:03 itojun Exp $   */
 
 /*
@@ -85,9 +85,11 @@
 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 char *__libyytext;      /*XXX*/
+
+
 %}
 
 %union {
@@ -210,8 +212,6 @@
 yyerror(msg)
        char *msg;
 {
-       extern char *__libyytext;       /*XXX*/
-
        fprintf(stderr, "libipsec: %s while parsing \"%s\"\n",
                msg, __libyytext);
 



Home | Main Index | Thread Index | Old Index