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.
This commit is contained in:
Pierre Muller 2011-03-14 16:55:04 +00:00
parent 7371cf6d8d
commit 2021ad3a8c
9 changed files with 33 additions and 26 deletions

View File

@ -1,3 +1,19 @@
2011-03-14 Pierre Muller <muller@ics.u-strasbg.fr>
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.
2011-03-14 Phil Muldoon <pmuldoon@redhat.com>
* python/python.h: Declare gdbpy_should_stop and

View File

@ -240,8 +240,7 @@ extern struct minimal_symbol *
hppa_lookup_stub_minimal_symbol (const char *name,
enum unwind_stub_types stub_type);
extern struct hppa_objfile_private *
hppa_init_objfile_priv_data (struct objfile *objfile);
extern struct hppa_objfile_private * hppa_init_objfile_priv_data (struct objfile *objfile);
extern int hppa_in_solib_call_trampoline (struct gdbarch *gdbarch,
CORE_ADDR pc, char *name);

View File

@ -366,8 +366,7 @@ extern int debug_displaced;
void displaced_step_dump_bytes (struct ui_file *file,
const gdb_byte *buf, size_t len);
struct displaced_step_closure*
get_displaced_step_closure_by_addr (CORE_ADDR addr);
struct displaced_step_closure* get_displaced_step_closure_by_addr (CORE_ADDR addr);
/* Possible values for gdbarch_call_dummy_location. */
#define ON_STACK 1

View File

@ -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

View File

@ -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;

View File

@ -28,10 +28,8 @@ extern void stop_evpy_dealloc (PyObject *self);
extern int emit_stop_event (struct bpstats *bs,
enum target_signal stop_signal);
extern PyObject *
create_breakpoint_event_object (PyObject *breakpoint);
extern PyObject *create_breakpoint_event_object (PyObject *breakpoint);
extern PyObject *
create_signal_event_object (enum target_signal stop_signal);
extern PyObject *create_signal_event_object (enum target_signal stop_signal);
#endif /* GDB_PY_STOPEVENT_H */

View File

@ -76,8 +76,8 @@ dld_cache_t;
static dld_cache_t dld_cache;
static int
read_dynamic_info (asection *dyninfo_sect, dld_cache_t *dld_cache_p);
static int read_dynamic_info (asection *dyninfo_sect,
dld_cache_t *dld_cache_p);
static void
pa64_relocate_section_addresses (struct so_list *so,

View File

@ -296,8 +296,9 @@ static int is_root_p (struct varobj *var);
#if HAVE_PYTHON
static struct varobj *
varobj_add_child (struct varobj *var, const char *name, struct value *value);
static struct varobj * varobj_add_child (struct varobj *var,
const char *name,
struct value *value);
#endif /* HAVE_PYTHON */

View File

@ -167,8 +167,8 @@ extern int varobj_editable_p (struct varobj *var);
extern int varobj_floating_p (struct varobj *var);
extern void
varobj_set_visualizer (struct varobj *var, const char *visualizer);
extern void varobj_set_visualizer (struct varobj *var,
const char *visualizer);
extern void varobj_enable_pretty_printing (void);