Author: bapt
Date: Wed Dec  5 20:28:44 2012
New Revision: 243906
URL: http://svnweb.freebsd.org/changeset/base/243906

Log:
  remove redundant yyparse declarations
  
  PR:           conf/174079
  Submitted by: Garrett Cooper <yaneg...@gmail.com>

Modified:
  head/lib/libipsec/policy_parse.y
  head/sys/dev/aic7xxx/aicasm/aicasm_gram.y
  head/usr.sbin/ndiscvt/inf-parse.y

Modified: head/lib/libipsec/policy_parse.y
==============================================================================
--- head/lib/libipsec/policy_parse.y    Wed Dec  5 20:25:45 2012        
(r243905)
+++ head/lib/libipsec/policy_parse.y    Wed Dec  5 20:28:44 2012        
(r243906)
@@ -88,7 +88,6 @@ static caddr_t policy_parse(char *msg, i
 
 extern void __policy__strbuffer__init__(char *msg);
 extern void __policy__strbuffer__free__(void);
-extern int yyparse(void);
 extern int yylex(void);
 
 extern char *__libipsecyytext; /*XXX*/

Modified: head/sys/dev/aic7xxx/aicasm/aicasm_gram.y
==============================================================================
--- head/sys/dev/aic7xxx/aicasm/aicasm_gram.y   Wed Dec  5 20:25:45 2012        
(r243905)
+++ head/sys/dev/aic7xxx/aicasm/aicasm_gram.y   Wed Dec  5 20:28:44 2012        
(r243906)
@@ -103,7 +103,6 @@ static void add_version(const char *vers
 static int  is_download_const(expression_t *immed);
 
 extern int yylex (void);
-extern int yyparse (void);
 
 #define SRAM_SYMNAME "SRAM_BASE"
 #define SCB_SYMNAME "SCB_BASE"

Modified: head/usr.sbin/ndiscvt/inf-parse.y
==============================================================================
--- head/usr.sbin/ndiscvt/inf-parse.y   Wed Dec  5 20:25:45 2012        
(r243905)
+++ head/usr.sbin/ndiscvt/inf-parse.y   Wed Dec  5 20:28:44 2012        
(r243906)
@@ -40,7 +40,6 @@ __FBSDID("$FreeBSD$");
 
 #include "inf.h"
 
-extern int yyparse (void);
 extern int yylex (void);
 extern void yyerror(const char *);
 %}
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to