aboutsummaryrefslogtreecommitdiff
path: root/gdb/cli
diff options
context:
space:
mode:
authorYao Qi <yao@codesourcery.com>2012-08-09 06:26:25 +0000
committerYao Qi <yao@codesourcery.com>2012-08-09 06:26:25 +0000
commit28578e6b11759a8ed9a71f56329fe2b736d5d443 (patch)
treec7387851b8e685fb3a19185fcce76a457d47e3da /gdb/cli
parenteeb1f9aea6773f39b281b43600d38ec0aa3fed6d (diff)
downloadgdb-28578e6b11759a8ed9a71f56329fe2b736d5d443.zip
gdb-28578e6b11759a8ed9a71f56329fe2b736d5d443.tar.gz
gdb-28578e6b11759a8ed9a71f56329fe2b736d5d443.tar.bz2
gdb/
* cli/cli-dump.c: Add 'static' to some cmd_list_element variables. * gnu-nat.c, symfile.c: Likewise.
Diffstat (limited to 'gdb/cli')
-rw-r--r--gdb/cli/cli-dump.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/gdb/cli/cli-dump.c b/gdb/cli/cli-dump.c
index 7341f00..dd9c3b8 100644
--- a/gdb/cli/cli-dump.c
+++ b/gdb/cli/cli-dump.c
@@ -150,13 +150,13 @@ bfd_openw_with_cleanup (const char *filename, const char *target,
return obfd;
}
-struct cmd_list_element *dump_cmdlist;
-struct cmd_list_element *append_cmdlist;
-struct cmd_list_element *srec_cmdlist;
-struct cmd_list_element *ihex_cmdlist;
-struct cmd_list_element *tekhex_cmdlist;
-struct cmd_list_element *binary_dump_cmdlist;
-struct cmd_list_element *binary_append_cmdlist;
+static struct cmd_list_element *dump_cmdlist;
+static struct cmd_list_element *append_cmdlist;
+static struct cmd_list_element *srec_cmdlist;
+static struct cmd_list_element *ihex_cmdlist;
+static struct cmd_list_element *tekhex_cmdlist;
+static struct cmd_list_element *binary_dump_cmdlist;
+static struct cmd_list_element *binary_append_cmdlist;
static void
dump_command (char *cmd, int from_tty)