From 5b6fe301a1769b1a5a062d8fbf17c89556c478e8 Mon Sep 17 00:00:00 2001 From: Michael Snyder Date: Tue, 14 Aug 2007 20:23:29 +0000 Subject: 2007-08-14 Michael Snyder * tui-data.c, tui-data.h, tui-disasm.c, tui-hooks.c, tui-layout.c, tui-regs.c, tui-source.c, tui-stack.c, tui-win.c, tui-windata.c, tui-wingeneral.c, tui-wingeneral.h, tui-winsource.c, tui.c, tui-winsource.h: Whitespace changes, fix pointer declarations to be consistant. --- gdb/tui/tui.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gdb/tui/tui.c') diff --git a/gdb/tui/tui.c b/gdb/tui/tui.c index a552f42..6d30e3f 100644 --- a/gdb/tui/tui.c +++ b/gdb/tui/tui.c @@ -67,7 +67,7 @@ enum tui_key_mode tui_current_key_mode = TUI_COMMAND_MODE; struct tui_char_command { unsigned char key; - const char* cmd; + const char *cmd; }; /* Key mapping to gdb commands when the TUI is using the single key mode. */ @@ -211,7 +211,7 @@ tui_rl_delete_other_windows (int notused1, int notused2) static int tui_rl_other_window (int count, int key) { - struct tui_win_info * win_info; + struct tui_win_info *win_info; if (!tui_active) tui_rl_switch_mode (0/*notused*/, 0/*notused*/); @@ -241,7 +241,7 @@ tui_rl_command_key (int count, int key) { /* Must save the command because it can be modified by execute_command. */ - char* cmd = alloca (strlen (tui_commands[i].cmd) + 1); + char *cmd = alloca (strlen (tui_commands[i].cmd) + 1); strcpy (cmd, tui_commands[i].cmd); execute_command (cmd, TRUE); return 0; -- cgit v1.1