From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18945 invoked by alias); 3 Oct 2007 09:55:08 -0000 Received: (qmail 18935 invoked by uid 22791); 3 Oct 2007 09:55:07 -0000 X-Spam-Check-By: sourceware.org Received: from ics.u-strasbg.fr (HELO ics.u-strasbg.fr) (130.79.112.250) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 03 Oct 2007 09:55:04 +0000 Received: from ICSMULLER (laocoon.u-strasbg.fr [130.79.112.72]) by ics.u-strasbg.fr (Postfix) with ESMTP id 45E4118701C for ; Wed, 3 Oct 2007 11:59:50 +0200 (CEST) From: "Pierre Muller" To: Subject: [RFA] ARI fixes: Remove 4 PARAMS in objc-exp.y Date: Wed, 03 Oct 2007 09:55:00 -0000 Message-ID: <001801c805a3$791b0080$6b510180$@u-strasbg.fr> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Content-Language: en-us x-cr-hashedpuzzle: A0Nh D/EO EftN EgaN GMZF Gfrg GxZa HObg HSUb HUKg Hjl1 KKbL KnpK LWZO L8AO MC9I;1;ZwBkAGIALQBwAGEAdABjAGgAZQBzAEAAcwBvAHUAcgBjAGUAdwBhAHIAZQAuAG8AcgBnAA==;Sosha1_v1;7;{A370A535-0E92-47DC-AF2E-001505487257};bQB1AGwAbABlAHIAQABpAGMAcwAuAHUALQBzAHQAcgBhAHMAYgBnAC4AZgByAA==;Wed, 03 Oct 2007 09:54:59 GMT;WwBSAEYAQQBdACAAQQBSAEkAIABmAGkAeABlAHMAOgAgAFIAZQBtAG8AdgBlACAANAAgAFAAQQBSAEEATQBTACAAaQBuACAAbwBiAGoAYwAtAGUAeABwAC4AeQA= x-cr-puzzleid: {A370A535-0E92-47DC-AF2E-001505487257} Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2007-10/txt/msg00027.txt.bz2 As we recently added the lex and yacc files to the ARI checks, some problems, that did not show up, resurfaced. The obsolete use of PARAMS appears in a single file: objc-exp.y PARAMS 4 Do not use PARAMS(), ISO C 90 implies prototypes OK to commit? Pierre Muller Changelog entry: 2007-10-03 Pierre Muller * objc-exp.y: ARI fix: remove 4 PARAMS. Index: objc-exp.y =================================================================== RCS file: /cvs/src/src/gdb/objc-exp.y,v retrieving revision 1.24 diff -u -p -r1.24 objc-exp.y --- objc-exp.y 12 Jun 2007 15:33:04 -0000 1.24 +++ objc-exp.y 3 Oct 2007 09:50:17 -0000 @@ -108,13 +108,13 @@ #endif int -yyparse PARAMS ((void)); +yyparse (void); static int -yylex PARAMS ((void)); +yylex (void); void -yyerror PARAMS ((char *)); +yyerror (char *); %} @@ -151,7 +151,7 @@ yyerror PARAMS ((char *)); %{ /* YYSTYPE gets defined by %union. */ static int -parse_number PARAMS ((char *, int, int, YYSTYPE *)); +parse_number (char *, int, int, YYSTYPE *); %} %type exp exp1 type_exp start variable qualified_name lcurly