Make help_all static.
authorAndrew Cagney <cagney@redhat.com>
Fri, 21 Apr 2000 05:21:55 +0000 (05:21 +0000)
committerAndrew Cagney <cagney@redhat.com>
Fri, 21 Apr 2000 05:21:55 +0000 (05:21 +0000)
gdb/ChangeLog
gdb/command.c
gdb/command.h

index b0c3fbf..f388cdc 100644 (file)
@@ -1,3 +1,9 @@
+Fri Apr 21 14:37:40 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * command.h (help_all): Delete declaration.
+       * command.c (help_all): Add declaration.  Convert function
+       argument list to ISO-C.
+
 Thu Apr 20 18:15:08 2000  Andrew Cagney  <cagney@b1.cygnus.com>
 
        * d10v-tdep.c (d10v_gdbarch_init): Initialize stack_align.
index 279bc68..43f2a7e 100644 (file)
@@ -57,6 +57,8 @@ static struct cmd_list_element *find_cmd PARAMS ((char *command,
 static void apropos_cmd_helper (struct ui_file *, struct cmd_list_element *, 
                                struct re_pattern_buffer *, char *);
 
+static void help_all (struct ui_file *stream);
+
 void apropos_command (char *, int);
 
 void _initialize_command PARAMS ((void));
@@ -609,8 +611,7 @@ Command name abbreviations are allowed if unambiguous.\n",
 }
 
 static void
-help_all (stream)
-     struct ui_file *stream;
+help_all (struct ui_file *stream)
 {
   struct cmd_list_element *c;
   extern struct cmd_list_element *cmdlist;
index 5121588..20e4fd5 100644 (file)
@@ -284,8 +284,6 @@ extern void help_list (struct cmd_list_element *, char *,
 extern void help_cmd_list (struct cmd_list_element *, enum command_class,
                           char *, int, struct ui_file *);
 
-extern void help_all (struct ui_file *);
-
 extern struct cmd_list_element *
   add_set_cmd PARAMS ((char *, enum command_class, var_types, char *, char *,
                       struct cmd_list_element **));