Patchwork [FYI] Remove tui_exec_info_content

login
register
mail settings
Submitter Tom Tromey
Date Oct. 21, 2019, 3:27 p.m.
Message ID <20191021152738.18103-1-tom@tromey.com>
Download mbox | patch
Permalink /patch/35198/
State New
Headers show

Comments

Tom Tromey - Oct. 21, 2019, 3:27 p.m.
I happened to notice that the tui_exec_info_content typedef is unused.
This patch removes it.  Tested by rebuilding.

gdb/ChangeLog
2019-10-21  Tom Tromey  <tom@tromey.com>

	* tui/tui-winsource.h (tui_exec_info_content): Remove typedef.

Change-Id: I768edc482366e830eb4528c799686bb27518cdcb
---
 gdb/ChangeLog           | 4 ++++
 gdb/tui/tui-winsource.h | 2 --
 2 files changed, 4 insertions(+), 2 deletions(-)

Patch

diff --git a/gdb/tui/tui-winsource.h b/gdb/tui/tui-winsource.h
index a66c63597e7..9417b282d62 100644
--- a/gdb/tui/tui-winsource.h
+++ b/gdb/tui/tui-winsource.h
@@ -43,8 +43,6 @@  DEF_ENUM_FLAGS_TYPE (enum tui_bp_flag, tui_bp_flags);
 #define TUI_EXEC_POS        2
 #define TUI_EXECINFO_SIZE   4
 
-typedef char tui_exec_info_content[TUI_EXECINFO_SIZE];
-
 /* Elements in the Source/Disassembly Window.  */
 struct tui_source_element
 {