From 5a77dc52950c60f2b595fc4a3d55992dfdbe2058 Mon Sep 17 00:00:00 2001 From: Andrew Stubbs Date: Tue, 1 Nov 2005 17:40:25 +0000 Subject: 2005-11-01 Andrew Stubbs * tui/tui-data.h (tui_line_or_address): Encapsulate the union in a struct with a tag. (tui_source_element, tui_source_info): Update. * tui/tui-disasm.c, tui/tui-source.c: Update to use the tagged union. * tui/tui-source.h, tui/tui-stack.c, tui/tui-win.c: Likewise. * tui/tui-winsource.c, tui/tui-data.c, tui/tui-layout.c: Likewise. * tui/tui-winsource.h: Likewise. --- gdb/tui/tui-source.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/tui/tui-source.h') diff --git a/gdb/tui/tui-source.h b/gdb/tui/tui-source.h index 3b61ca4374d..4e49488ddc9 100644 --- a/gdb/tui/tui-source.h +++ b/gdb/tui/tui-source.h @@ -33,7 +33,7 @@ struct tui_win_info; extern void tui_set_source_content_nil (struct tui_win_info *, char *); extern enum tui_status tui_set_source_content (struct symtab *, int, int); -extern void tui_show_symtab_source (struct symtab *, union tui_line_or_address, int); +extern void tui_show_symtab_source (struct symtab *, struct tui_line_or_address, int); extern int tui_source_is_displayed (char *); extern void tui_vertical_source_scroll (enum tui_scroll_direction, int); -- cgit v1.2.1