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-win.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-win.c')
-rw-r--r-- | gdb/tui/tui-win.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/tui/tui-win.c b/gdb/tui/tui-win.c index f9cb6c0..3950a7c 100644 --- a/gdb/tui/tui-win.c +++ b/gdb/tui/tui-win.c @@ -54,7 +54,7 @@ #endif #endif -#include <string.h> +#include "gdb_string.h" #include <ctype.h> #include <readline/readline.h> @@ -241,7 +241,7 @@ translate (const char *name, struct tui_translate *table) Returns 1 if the configuration has changed and the screen should be redrawn. */ int -tui_update_variables () +tui_update_variables (void) { int need_redraw = 0; struct tui_translate *entry; @@ -404,7 +404,7 @@ Usage: w <#lines>\n"); /* Update gdb's knowledge of the terminal size. */ void -tui_update_gdb_sizes () +tui_update_gdb_sizes (void) { char cmd[50]; int screenheight, screenwidth; |