summaryrefslogtreecommitdiff
path: root/gdb/tui/tui-win.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
commit7068288b6175f0ed250d92f1912394c4824fd188 (patch)
tree786cbe2d9794b6903615989636baca195a6be744 /gdb/tui/tui-win.c
parent192603302c8806bd9a99761350747483e27f79ce (diff)
downloadgdb-7068288b6175f0ed250d92f1912394c4824fd188.tar.gz
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.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/tui/tui-win.c b/gdb/tui/tui-win.c
index f9cb6c0a3fd..3950a7ca4ce 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;