aboutsummaryrefslogtreecommitdiff
path: root/gdb/symtab.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2011-07-05 20:30:19 +0000
committerTom Tromey <tromey@redhat.com>2011-07-05 20:30:19 +0000
commitfc9f3a697800953cffd597db86b65742e8cf5842 (patch)
treefe515986751fdfb48db39dc39ee266dc0b76e178 /gdb/symtab.c
parent2419798b808521c666c29abc9b816154a979d69e (diff)
downloadgdb-fc9f3a697800953cffd597db86b65742e8cf5842.zip
gdb-fc9f3a697800953cffd597db86b65742e8cf5842.tar.gz
gdb-fc9f3a697800953cffd597db86b65742e8cf5842.tar.bz2
* symtab.c (operator_chars): Now static.
* linespec.c (operator_chars): Don't declare.
Diffstat (limited to 'gdb/symtab.c')
-rw-r--r--gdb/symtab.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/gdb/symtab.c b/gdb/symtab.c
index 5ece679..b792081 100644
--- a/gdb/symtab.c
+++ b/gdb/symtab.c
@@ -83,10 +83,6 @@ static void output_source_filename (const char *, int *);
static int find_line_common (struct linetable *, int, int *);
-/* This one is used by linespec.c */
-
-char *operator_chars (char *p, char **end);
-
static struct symbol *lookup_symbol_aux (const char *name,
const struct block *block,
const domain_enum domain,
@@ -2637,7 +2633,7 @@ skip_prologue_sal (struct symtab_and_line *sal)
some legitimate operator text, return a pointer to the
beginning of the substring of the operator text.
Otherwise, return "". */
-char *
+static char *
operator_chars (char *p, char **end)
{
*end = "";