aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2000-04-21 05:21:55 +0000
committerAndrew Cagney <cagney@redhat.com>2000-04-21 05:21:55 +0000
commitc85871a391896a07d578429d4aa0ef57bffb30eb (patch)
tree90574666eac98aa1693e27a7ed68bbc3b7eede5c
parent23964bcd46652820a200d7cd65d24a2f9cc9f6e1 (diff)
downloadgdb-c85871a391896a07d578429d4aa0ef57bffb30eb.zip
gdb-c85871a391896a07d578429d4aa0ef57bffb30eb.tar.gz
gdb-c85871a391896a07d578429d4aa0ef57bffb30eb.tar.bz2
Make help_all static.
-rw-r--r--gdb/ChangeLog6
-rw-r--r--gdb/command.c5
-rw-r--r--gdb/command.h2
3 files changed, 9 insertions, 4 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index b0c3fbf..f388cdc 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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.
diff --git a/gdb/command.c b/gdb/command.c
index 279bc68..43f2a7e 100644
--- a/gdb/command.c
+++ b/gdb/command.c
@@ -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;
diff --git a/gdb/command.h b/gdb/command.h
index 5121588..20e4fd5 100644
--- a/gdb/command.h
+++ b/gdb/command.h
@@ -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 **));