mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-29 21:13:52 +08:00
* symtab.c (operator_chars): Now static.
* linespec.c (operator_chars): Don't declare.
This commit is contained in:
parent
2419798b80
commit
fc9f3a6978
@ -1,3 +1,8 @@
|
||||
2011-07-05 Tom Tromey <tromey@redhat.com>
|
||||
|
||||
* symtab.c (operator_chars): Now static.
|
||||
* linespec.c (operator_chars): Don't declare.
|
||||
|
||||
2011-07-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
|
||||
|
||||
* ui-out.h (ui_out_field_core_addr): Fix typo in comment.
|
||||
|
@ -44,10 +44,6 @@
|
||||
#include <ctype.h>
|
||||
#include "cli/cli-utils.h"
|
||||
|
||||
/* We share this one with symtab.c, but it is not exported widely. */
|
||||
|
||||
extern char *operator_chars (char *, char **);
|
||||
|
||||
/* Prototypes for local functions. */
|
||||
|
||||
static void initialize_defaults (struct symtab **default_symtab,
|
||||
|
@ -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 = "";
|
||||
|
Loading…
Reference in New Issue
Block a user