diff options
author | Pierre Muller <muller@sourceware.org> | 2011-03-14 16:55:04 +0000 |
---|---|---|
committer | Pierre Muller <muller@sourceware.org> | 2011-03-14 16:55:04 +0000 |
commit | 2021ad3a8c483c6dbd58652c9d72777712472fe7 (patch) | |
tree | f0272cc316f96800c87d1e7f185a2a1bc1d07aeb /gdb/p-exp.y | |
parent | 7371cf6d8db5a0c04550fc95b1acc87857ac348c (diff) | |
download | gdb-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/p-exp.y')
-rw-r--r-- | gdb/p-exp.y | 6 |
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; |