summaryrefslogtreecommitdiff
path: root/gdb/symfile.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/symfile.c
parenteeb1f9aea6773f39b281b43600d38ec0aa3fed6d (diff)
downloadbinutils-gdb-28578e6b11759a8ed9a71f56329fe2b736d5d443.tar.gz
gdb/
* cli/cli-dump.c: Add 'static' to some cmd_list_element variables. * gnu-nat.c, symfile.c: Likewise.
Diffstat (limited to 'gdb/symfile.c')
-rw-r--r--gdb/symfile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/symfile.c b/gdb/symfile.c
index 95ed480ff64..da068a1b809 100644
--- a/gdb/symfile.c
+++ b/gdb/symfile.c
@@ -3393,7 +3393,7 @@ overlay_load_command (char *args, int from_tty)
A place-holder for a mis-typed command. */
/* Command list chain containing all defined "overlay" subcommands. */
-struct cmd_list_element *overlaylist;
+static struct cmd_list_element *overlaylist;
static void
overlay_command (char *args, int from_tty)