aboutsummaryrefslogtreecommitdiff
path: root/gdb/tui/tui-layout.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2004-02-08 01:32:26 +0000
committerAndrew Cagney <cagney@redhat.com>2004-02-08 01:32:26 +0000
commitd02c80cdf4c8426e911e897c4c6a9aa950354b1b (patch)
tree6e0f5a6804dd11cb105e43a6a7aca6e580ed35d9 /gdb/tui/tui-layout.c
parent6ba8e26f707d4fe30bf0ce56f521b7d6509b125b (diff)
downloadgdb-d02c80cdf4c8426e911e897c4c6a9aa950354b1b.zip
gdb-d02c80cdf4c8426e911e897c4c6a9aa950354b1b.tar.gz
gdb-d02c80cdf4c8426e911e897c4c6a9aa950354b1b.tar.bz2
2004-02-07 Andrew Cagney <cagney@redhat.com>
* tui/tui-command.c: Include "gdb_string.h", delete register attribute, use ISO-C function signatures. * tui/tui-disasm.c, tui/tui-file.c, tui/tui-io.c: Ditto. * tui/tui-layout.c, tui/tui-regs.c, tui/tui-source.c: Ditto. * tui/tui-stack.c, tui/tui-win.c, tui/tui-winsource.c: Ditto. * tui/tui.c: Ditto.
Diffstat (limited to 'gdb/tui/tui-layout.c')
-rw-r--r--gdb/tui/tui-layout.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/tui/tui-layout.c b/gdb/tui/tui-layout.c
index 0cd71f7..341d3cd 100644
--- a/gdb/tui/tui-layout.c
+++ b/gdb/tui/tui-layout.c
@@ -418,8 +418,8 @@ tui_set_layout_for_display_command (const char *layout_name)
if (layout_name != (char *) NULL)
{
- register int i;
- register char *buf_ptr;
+ int i;
+ char *buf_ptr;
enum tui_layout_type new_layout = UNDEFINED_LAYOUT;
enum tui_register_display_type dpy_type = TUI_UNDEFINED_REGS;
enum tui_layout_type cur_layout = tui_current_layout ();