aboutsummaryrefslogtreecommitdiff
path: root/gdb/p-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/p-exp.y
parent7371cf6d8db5a0c04550fc95b1acc87857ac348c (diff)
downloadfsf-binutils-gdb-2021ad3a8c483c6dbd58652c9d72777712472fe7.zip
fsf-binutils-gdb-2021ad3a8c483c6dbd58652c9d72777712472fe7.tar.gz
fsf-binutils-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/p-exp.y')
-rw-r--r--gdb/p-exp.y6
1 files changed, 2 insertions, 4 deletions
diff --git a/gdb/p-exp.y b/gdb/p-exp.y
index e0dba8f..183f001 100644
--- a/gdb/p-exp.y
+++ b/gdb/p-exp.y
@@ -117,8 +117,7 @@ int yyparse (void);
static int yylex (void);
-void
-yyerror (char *);
+void yyerror (char *);
static char * uptok (char *, int);
%}
@@ -154,8 +153,7 @@ static char * uptok (char *, int);
%{
/* YYSTYPE gets defined by %union */
-static int
-parse_number (char *, int, int, YYSTYPE *);
+static int parse_number (char *, int, int, YYSTYPE *);
static struct type *current_type;
static struct internalvar *intvar;