From nobody@FreeBSD.org  Mon Dec  3 08:15:15 2012
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id D321F3E2
	for <freebsd-gnats-submit@FreeBSD.org>; Mon,  3 Dec 2012 08:15:15 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id B96768FC17
	for <freebsd-gnats-submit@FreeBSD.org>; Mon,  3 Dec 2012 08:15:15 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.5/8.14.5) with ESMTP id qB38FFPr042853
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 3 Dec 2012 08:15:15 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.5/8.14.5/Submit) id qB38FF0w042852;
	Mon, 3 Dec 2012 08:15:15 GMT
	(envelope-from nobody)
Message-Id: <201212030815.qB38FF0w042852@red.freebsd.org>
Date: Mon, 3 Dec 2012 08:15:15 GMT
From: Garrett Cooper <yaneurabeya@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [patch] remove redundant yyparse declarations
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         174079
>Category:       conf
>Synopsis:       [patch] remove redundant yyparse declarations
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bapt
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Dec 03 08:20:00 UTC 2012
>Closed-Date:    Wed Dec 05 20:29:35 UTC 2012
>Last-Modified:  Sun Feb 03 22:31:49 UTC 2013
>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:
Responsible-Changed-From-To: freebsd-bugs->bapt 
Responsible-Changed-By: bapt 
Responsible-Changed-When: Wed Dec 5 17:42:11 UTC 2012 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=174079 
State-Changed-From-To: open->closed 
State-Changed-By: bapt 
State-Changed-When: Wed Dec 5 20:29:34 UTC 2012 
State-Changed-Why:  
Committed thanks, close as there is no plan to MFC it, since it depends 
on byacc which won't be MFCed 

http://www.freebsd.org/cgi/query-pr.cgi?pr=174079 
>Unformatted:
