diff options
author | Andrew Cagney <cagney@redhat.com> | 2004-02-08 01:32:26 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2004-02-08 01:32:26 +0000 |
commit | d02c80cdf4c8426e911e897c4c6a9aa950354b1b (patch) | |
tree | 6e0f5a6804dd11cb105e43a6a7aca6e580ed35d9 /gdb/tui/tui-winsource.c | |
parent | 6ba8e26f707d4fe30bf0ce56f521b7d6509b125b (diff) | |
download | gdb-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-winsource.c')
-rw-r--r-- | gdb/tui/tui-winsource.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/tui/tui-winsource.c b/gdb/tui/tui-winsource.c index 7074dcd..6b77c40 100644 --- a/gdb/tui/tui-winsource.c +++ b/gdb/tui/tui-winsource.c @@ -205,7 +205,7 @@ tui_clear_source_content (struct tui_win_info * win_info, int display_prompt) { if (win_info != NULL) { - register int i; + int i; win_info->generic.content_in_use = FALSE; tui_erase_source_content (win_info, display_prompt); @@ -372,7 +372,7 @@ tui_set_is_exec_point_at (union tui_line_or_address l, struct tui_win_info * win This is called whenever a breakpoint is inserted, removed or has its state changed. */ void -tui_update_all_breakpoint_info () +tui_update_all_breakpoint_info (void) { struct tui_list *list = tui_source_windows (); int i; @@ -558,8 +558,8 @@ tui_update_exec_info (struct tui_win_info * win_info) enum tui_status tui_alloc_source_buffer (struct tui_win_info *win_info) { - register char *src_line_buf; - register int i, line_width, max_lines; + char *src_line_buf; + int i, line_width, max_lines; enum tui_status ret = TUI_FAILURE; max_lines = win_info->generic.height; /* less the highlight box */ |