From 64580925383e991409429881711c96b0b70b1c3e Mon Sep 17 00:00:00 2001 From: Yao Qi Date: Thu, 14 Feb 2013 03:39:42 +0000 Subject: gdb/ * cli/cli-decode.c (help_cmd): Remove the declaration of "cmdlist". (help_all): Likewise. --- gdb/cli/cli-decode.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'gdb/cli') diff --git a/gdb/cli/cli-decode.c b/gdb/cli/cli-decode.c index 08558bb..49ccef3 100644 --- a/gdb/cli/cli-decode.c +++ b/gdb/cli/cli-decode.c @@ -917,7 +917,6 @@ void help_cmd (char *command, struct ui_file *stream) { struct cmd_list_element *c; - extern struct cmd_list_element *cmdlist; if (!command) { @@ -1049,7 +1048,6 @@ static void help_all (struct ui_file *stream) { struct cmd_list_element *c; - extern struct cmd_list_element *cmdlist; int seen_unclassified = 0; for (c = cmdlist; c; c = c->next) -- cgit v1.1