From: "Pierre Muller" <muller@ics.u-strasbg.fr>
To: <gdb-patches@sourceware.org>
Subject: [RFA] ARI fixes: Remove 4 PARAMS in objc-exp.y
Date: Wed, 03 Oct 2007 09:55:00 -0000 [thread overview]
Message-ID: <001801c805a3$791b0080$6b510180$@u-strasbg.fr> (raw)
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
next reply other threads:[~2007-10-03 9:55 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-03 9:55 Pierre Muller [this message]
2007-10-03 19:05 ` Daniel Jacobowitz
2007-10-05 6:48 ` Pierre Muller
2007-10-05 8:57 ` Joel Brobecker
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='001801c805a3$791b0080$6b510180$@u-strasbg.fr' \
--to=muller@ics.u-strasbg.fr \
--cc=gdb-patches@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox