Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Dec 2012 20:28:44 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r243906 - in head: lib/libipsec sys/dev/aic7xxx/aicasm usr.sbin/ndiscvt
Message-ID:  <201212052028.qB5KSiJX030434@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 <yanegomi@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 *);
 %}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201212052028.qB5KSiJX030434>