aboutsummaryrefslogtreecommitdiff
path: root/gdb/objc-exp.y
diff options
context:
space:
mode:
authorPierre Muller <muller@sourceware.org>2011-03-14 16:55:04 +0000
committerPierre Muller <muller@sourceware.org>2011-03-14 16:55:04 +0000
commit2021ad3a8c483c6dbd58652c9d72777712472fe7 (patch)
treef0272cc316f96800c87d1e7f185a2a1bc1d07aeb /gdb/objc-exp.y
parent7371cf6d8db5a0c04550fc95b1acc87857ac348c (diff)
downloadgdb-2021ad3a8c483c6dbd58652c9d72777712472fe7.zip
gdb-2021ad3a8c483c6dbd58652c9d72777712472fe7.tar.gz
gdb-2021ad3a8c483c6dbd58652c9d72777712472fe7.tar.bz2
Fix ARI warning about function names in first column.
Put prototype declaration on same line as return type. * objc-exp.y: Ditto. * p-exp.y: Ditto. * python/py-stopevent.h: Ditto. For long function names, split parameters to allow function name on same line as return type. * solib-pa64.c: Ditto. * varobj.c: Ditto. * varobj.h: Ditto. For long function declaration, use single line. * hppa-tdep.h: Ditto. * inferior.h: Ditto.
Diffstat (limited to 'gdb/objc-exp.y')
-rw-r--r--gdb/objc-exp.y12
1 files changed, 4 insertions, 8 deletions
diff --git a/gdb/objc-exp.y b/gdb/objc-exp.y
index c1e2632..d2f193a 100644
--- a/gdb/objc-exp.y
+++ b/gdb/objc-exp.y
@@ -107,14 +107,11 @@
#define YYDEBUG 0 /* Default to no yydebug support. */
#endif
-int
-yyparse (void);
+int yyparse (void);
-static int
-yylex (void);
+static int yylex (void);
-void
-yyerror (char *);
+void yyerror (char *);
%}
@@ -150,8 +147,7 @@ yyerror (char *);
%{
/* YYSTYPE gets defined by %union. */
-static int
-parse_number (char *, int, int, YYSTYPE *);
+static int parse_number (char *, int, int, YYSTYPE *);
%}
%type <voidval> exp exp1 type_exp start variable qualified_name lcurly