mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-06 06:45:56 +08:00
Remove unnecessary parentheses in declarations
GCC commit a94975e57 ("C++ warning on vexing parse") introduces new warnings "unnecessary parentheses in the declaration of ...". These cause the build of binutils and gdb to fail. This patch removes those parentheses for a successful build. gdb/ChangeLog: 2017-10-11 Egeyar Bagcioglu <egeyar.bagcioglu@oracle.com> * macrotab.h (macro_lookup_inclusion): Remove unnecessary parentheses in the declaration. (macro_lookup_inclusion): Likewise. (macro_lookup_definition): Likewise. * p-lang.h (pascal_builtin_types): Likewise. * tui/tui-data.c (tui_win_list): Likewise. * tui/tui-data.h (tui_win_list): Likewise. * utils.h (make_cleanup_free_section_addr_info): Likewise.
This commit is contained in:

committed by
Pedro Alves

parent
d9b477e3b7
commit
7fa29be949
@ -59,7 +59,7 @@ extern void pascal_printstr (struct ui_file *, struct type *, const gdb_byte *,
|
||||
unsigned int, const char *, int,
|
||||
const struct value_print_options *);
|
||||
|
||||
extern struct type **const (pascal_builtin_types[]);
|
||||
extern struct type **const pascal_builtin_types[];
|
||||
|
||||
/* These are in p-typeprint.c: */
|
||||
|
||||
|
Reference in New Issue
Block a user