gdb/
authorYao Qi <yao@codesourcery.com>
Thu, 14 Feb 2013 03:39:42 +0000 (03:39 +0000)
committerYao Qi <yao@codesourcery.com>
Thu, 14 Feb 2013 03:39:42 +0000 (03:39 +0000)
* cli/cli-decode.c (help_cmd): Remove the declaration of
"cmdlist".
(help_all): Likewise.

gdb/ChangeLog
gdb/cli/cli-decode.c

index 60b75886309c8ad10f0069f469b894f059ed2a5a..d08ffd89f84289de751a4e384e9946db7e1bbdd8 100644 (file)
@@ -1,3 +1,9 @@
+2013-02-14  Yao Qi  <yao@codesourcery.com>
+
+       * cli/cli-decode.c (help_cmd): Remove the declaration of
+       "cmdlist".
+       (help_all): Likewise.
+
 2013-02-13  Pedro Alves  <palves@redhat.com>
 
        * amd64-linux-nat.c (update_debug_registers_callback):
index 08558bb00435449eb347612bf9409eada72f1ef6..49ccef3f223a333909e9d2cb979d61b67f7c98bd 100644 (file)
@@ -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)