Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Dec 2012 08:15:15 GMT
From:      Garrett Cooper <yanegomi@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   conf/174079: [patch] remove redundant yyparse declarations
Message-ID:  <201212030815.qB38FF0w042852@red.freebsd.org>
Resent-Message-ID: <201212030820.qB38K0r7019120@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         174079
>Category:       conf
>Synopsis:       [patch] remove redundant yyparse declarations
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Dec 03 08:20:00 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Garrett Cooper
>Release:        10-CURRENT
>Organization:
EMC Isilon
>Environment:
n/a
>Description:
The attached patch removes redundant yyparse declarations, similar to r235789.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

Index: sys/dev/aic7xxx/aicasm/aicasm_gram.y
===================================================================
--- sys/dev/aic7xxx/aicasm/aicasm_gram.y	(revision 243802)
+++ sys/dev/aic7xxx/aicasm/aicasm_gram.y	(working copy)
@@ -103,7 +103,6 @@
 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"
Index: usr.sbin/ndiscvt/inf-parse.y
===================================================================
--- usr.sbin/ndiscvt/inf-parse.y	(revision 243802)
+++ usr.sbin/ndiscvt/inf-parse.y	(working copy)
@@ -40,7 +40,6 @@
 
 #include "inf.h"
 
-extern int yyparse (void);
 extern int yylex (void);
 extern void yyerror(const char *);
 %}
Index: lib/libipsec/policy_parse.y
===================================================================
--- lib/libipsec/policy_parse.y	(revision 243802)
+++ lib/libipsec/policy_parse.y	(working copy)
@@ -88,7 +88,6 @@
 
 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*/


>Release-Note:
>Audit-Trail:
>Unformatted:



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