summaryrefslogtreecommitdiff
path: root/gdb/p-exp.y
diff options
context:
space:
mode:
authorPierre Muller <muller@ics.u-strasbg.fr>2011-03-14 16:54:56 +0000
committerPierre Muller <muller@ics.u-strasbg.fr>2011-03-14 16:54:56 +0000
commit0ca05af73ed3e5aa9e1ca541d068c75a251aaa56 (patch)
tree2fe380cf274812c3b07f7a72639183e237d56c95 /gdb/p-exp.y
parent4dd51a525ac7a42f9773a24206ffb0fb0b286365 (diff)
downloadgdb-0ca05af73ed3e5aa9e1ca541d068c75a251aaa56.tar.gz
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 e0dba8f1589..183f001335d 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;