summaryrefslogtreecommitdiff
path: root/gdb/cli
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2012-12-18 19:27:34 +0000
committerTom Tromey <tromey@redhat.com>2012-12-18 19:27:34 +0000
commit356df661d9306af2f03ae79926acd3e040abaab0 (patch)
treec91b1569b2934598527a298fb27bb0bd47257ffd /gdb/cli
parente7af6090e38a49834920ea179dce4c07962d94b8 (diff)
downloadgdb-356df661d9306af2f03ae79926acd3e040abaab0.tar.gz
* cli/cli-cmds.c (apropos_command): Now static.
Diffstat (limited to 'gdb/cli')
-rw-r--r--gdb/cli/cli-cmds.c4
1 files changed, 1 insertions, 3 deletions
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;