From 7fa29be949a96f68ee65dcdb4f56f132609170db Mon Sep 17 00:00:00 2001 From: Egeyar Bagcioglu Date: Wed, 11 Oct 2017 11:00:48 +0100 Subject: 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 * 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/utils.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gdb/utils.h') diff --git a/gdb/utils.h b/gdb/utils.h index 7af0a5f..17d6258 100644 --- a/gdb/utils.h +++ b/gdb/utils.h @@ -206,8 +206,8 @@ private: /* Cleanup utilities. */ struct section_addr_info; -extern struct cleanup *(make_cleanup_free_section_addr_info - (struct section_addr_info *)); +extern struct cleanup *make_cleanup_free_section_addr_info + (struct section_addr_info *); /* For make_cleanup_close see common/filestuff.h. */ -- cgit v1.1