From 28578e6b11759a8ed9a71f56329fe2b736d5d443 Mon Sep 17 00:00:00 2001 From: Yao Qi Date: Thu, 9 Aug 2012 06:26:25 +0000 Subject: gdb/ * cli/cli-dump.c: Add 'static' to some cmd_list_element variables. * gnu-nat.c, symfile.c: Likewise. --- gdb/gnu-nat.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gdb/gnu-nat.c') 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'. */ -- cgit v1.1