From 75078fe059029087c9ff79222ed363991cb2762b Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Fri, 21 Apr 2000 05:21:55 +0000 Subject: [PATCH] Make help_all static. --- gdb/ChangeLog | 6 ++++++ gdb/command.c | 5 +++-- gdb/command.h | 2 -- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index b0c3fbf8c5..f388cdc899 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +Fri Apr 21 14:37:40 2000 Andrew Cagney + + * 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 * d10v-tdep.c (d10v_gdbarch_init): Initialize stack_align. diff --git a/gdb/command.c b/gdb/command.c index 279bc68f38..43f2a7e738 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 51215888f0..20e4fd50ed 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 **)); -- 2.11.0