aboutsummaryrefslogtreecommitdiff
path: root/gdb/gnu-nat.c
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/gnu-nat.c
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/gnu-nat.c')
-rw-r--r--gdb/gnu-nat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/gnu-nat.c b/gdb/gnu-nat.c
index 5a653cf..2ca01e1 100644
--- a/gdb/gnu-nat.c
+++ b/gdb/gnu-nat.c
@@ -2645,8 +2645,8 @@ gnu_target (void)
/* User task commands. */
-struct cmd_list_element *set_task_cmd_list = 0;
-struct cmd_list_element *show_task_cmd_list = 0;
+static struct cmd_list_element *set_task_cmd_list = 0;
+static struct cmd_list_element *show_task_cmd_list = 0;
/* User thread commands. */
/* Commands with a prefix of `set/show thread'. */