Remove unnecessary parentheses in declarations
authorEgeyar Bagcioglu <egeyar.bagcioglu@oracle.com>
Wed, 11 Oct 2017 10:00:48 +0000 (11:00 +0100)
committerPedro Alves <palves@redhat.com>
Wed, 11 Oct 2017 10:00:48 +0000 (11:00 +0100)
commit7fa29be949a96f68ee65dcdb4f56f132609170db
tree70e4e6f44212b2d460dd18a1cb29b97e81daee94
parentd9b477e3b7388732ed5293d929ceb5fc609916fe
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.
gdb/ChangeLog
gdb/macrotab.h
gdb/p-lang.h
gdb/tui/tui-data.c
gdb/tui/tui-data.h
gdb/utils.h