[PATCH 12/61] Don't declare unimplemented functions

Tom Tromey tom@tromey.com
Thu Jul 4 17:03:00 GMT 2019


A couple of functions were declared but never defined.  This removes
the declarations.

2019-07-04  Tom Tromey  <tom@tromey.com>

	* tui/tui-windata.h (tui_refresh_data_win): Don't declare.
	* tui/tui-regs.h (tui_first_reg_element_inline): Don't declare.
---
 gdb/ChangeLog         | 5 +++++
 gdb/tui/tui-regs.h    | 1 -
 gdb/tui/tui-windata.h | 1 -
 3 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/gdb/tui/tui-regs.h b/gdb/tui/tui-regs.h
index c1054696493..c99910b2c7e 100644
--- a/gdb/tui/tui-regs.h
+++ b/gdb/tui/tui-regs.h
@@ -28,6 +28,5 @@ extern void tui_check_register_values (struct frame_info *);
 extern void tui_show_registers (struct reggroup *group);
 extern void tui_display_registers_from (int);
 extern int tui_display_registers_from_line (int);
-extern int tui_first_reg_element_inline (int);
 
 #endif /* TUI_TUI_REGS_H */
diff --git a/gdb/tui/tui-windata.h b/gdb/tui/tui-windata.h
index adffcafacb4..fce4e6defc9 100644
--- a/gdb/tui/tui-windata.h
+++ b/gdb/tui/tui-windata.h
@@ -26,6 +26,5 @@
 
 extern void tui_erase_data_content (const char *);
 extern void tui_delete_data_content_windows (void);
-extern void tui_refresh_data_win (void);
 
 #endif /* TUI_TUI_WINDATA_H */
-- 
2.17.2



More information about the Gdb-patches mailing list