This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[RFA] ARI fixes: Remove 4 PARAMS in objc-exp.y


  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  <muller@ics.u-strasbg.fr>

        * 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 <voidval> exp exp1 type_exp start variable qualified_name lcurly




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]