aboutsummaryrefslogtreecommitdiff
path: root/gdb/cli/cli-cmds.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2012-12-18 19:27:35 +0000
committerTom Tromey <tromey@redhat.com>2012-12-18 19:27:35 +0000
commitc419cfba93792b559b7ced8649236bca6a8e03db (patch)
treed2cceed6d1bf011bed832d7919673beb1f1c3a17 /gdb/cli/cli-cmds.c
parentda821c7be24b8520dd25190156f860afb33d9cc5 (diff)
downloadgdb-c419cfba93792b559b7ced8649236bca6a8e03db.zip
gdb-c419cfba93792b559b7ced8649236bca6a8e03db.tar.gz
gdb-c419cfba93792b559b7ced8649236bca6a8e03db.tar.bz2
* cli/cli-cmds.c (apropos_command): Now static.
Diffstat (limited to 'gdb/cli/cli-cmds.c')
-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 e0dc145..8477339 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;