aboutsummaryrefslogtreecommitdiff
path: root/gdb/tui/tui.c
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@vmware.com>2007-08-14 20:23:29 +0000
committerMichael Snyder <msnyder@vmware.com>2007-08-14 20:23:29 +0000
commit5b6fe301a1769b1a5a062d8fbf17c89556c478e8 (patch)
tree85e8b0b42c7a382137185112e2b55a3a956eaba7 /gdb/tui/tui.c
parent64a1bf195752a461f0e44b853a1e2769d182de3b (diff)
downloadbinutils-5b6fe301a1769b1a5a062d8fbf17c89556c478e8.zip
binutils-5b6fe301a1769b1a5a062d8fbf17c89556c478e8.tar.gz
binutils-5b6fe301a1769b1a5a062d8fbf17c89556c478e8.tar.bz2
2007-08-14 Michael Snyder <msnyder@access-company.com>
* 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.
Diffstat (limited to 'gdb/tui/tui.c')
-rw-r--r--gdb/tui/tui.c6
1 files changed, 3 insertions, 3 deletions
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;