From c419cfba93792b559b7ced8649236bca6a8e03db Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Tue, 18 Dec 2012 19:27:35 +0000 Subject: [PATCH] * cli/cli-cmds.c (apropos_command): Now static. --- gdb/ChangeLog | 4 ++++ gdb/cli/cli-cmds.c | 4 +--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 5e93186ed5e..c965eeacc49 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2012-12-12 Tom Tromey + + * cli/cli-cmds.c (apropos_command): Now static. + 2012-12-12 Tom Tromey * breakpoint.c (dprintf_command): Now static. diff --git a/gdb/cli/cli-cmds.c b/gdb/cli/cli-cmds.c index e0dc1459f4b..847733989f7 100644 --- a/gdb/cli/cli-cmds.c +++ b/gdb/cli/cli-cmds.c @@ -86,8 +86,6 @@ static void edit_command (char *, int); static void list_command (char *, int); -void apropos_command (char *, int); - /* Prototypes for local utility functions */ static void ambiguous_line_spec (struct symtabs_and_lines *); @@ -1250,7 +1248,7 @@ show_user (char *args, int from_tty) /* Search through names of commands and documentations for a certain regular expression. */ -void +static void apropos_command (char *searchstr, int from_tty) { regex_t pattern; -- 2.39.5