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-source.c | |
parent | 6ba8e26f707d4fe30bf0ce56f521b7d6509b125b (diff) | |
download | binutils-d02c80cdf4c8426e911e897c4c6a9aa950354b1b.zip binutils-d02c80cdf4c8426e911e897c4c6a9aa950354b1b.tar.gz binutils-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-source.c')
-rw-r--r-- | gdb/tui/tui-source.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/tui/tui-source.c b/gdb/tui/tui-source.c index db8d040..f97de2f 100644 --- a/gdb/tui/tui-source.c +++ b/gdb/tui/tui-source.c @@ -52,9 +52,9 @@ tui_set_source_content (struct symtab *s, int line_no, int noerror) if (s != (struct symtab *) NULL && s->filename != (char *) NULL) { - register FILE *stream; - register int i, desc, c, line_width, nlines; - register char *src_line = 0; + FILE *stream; + int i, desc, c, line_width, nlines; + char *src_line = 0; if ((ret = tui_alloc_source_buffer (TUI_SRC_WIN)) == TUI_SUCCESS) { @@ -92,7 +92,7 @@ tui_set_source_content (struct symtab *s, int line_no, int noerror) } else { - register int offset, cur_line_no, cur_line, cur_len, threshold; + int offset, cur_line_no, cur_line, cur_len, threshold; struct tui_gen_win_info * locator = tui_locator_win_info_ptr (); struct tui_source_info * src = &TUI_SRC_WIN->detail.source_info; |