diff options
author | Andrew Cagney <cagney@redhat.com> | 2002-02-02 02:28:40 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2002-02-02 02:28:40 +0000 |
commit | ddfe3c15876eb717dbdc16cb79c4c20340d7443e (patch) | |
tree | 862fa22e778b9e0324825eed8b6bf56729786ba8 /gdb/dwarfread.c | |
parent | 60e955f1b0b88195ff1948ef2f9d33d914902c22 (diff) | |
download | gdb-ddfe3c15876eb717dbdc16cb79c4c20340d7443e.zip gdb-ddfe3c15876eb717dbdc16cb79c4c20340d7443e.tar.gz gdb-ddfe3c15876eb717dbdc16cb79c4c20340d7443e.tar.bz2 |
* language.h (type_error, range_error): Make string parameter
constant.
* language.c (warning_pre_print): Delete extern declaration.
* dwarfread.c (warning_pre_print): Ditto.
* language.c (type_error, range_error): Rewrite to use verror and
vwarning instead of warning_begin.
Diffstat (limited to 'gdb/dwarfread.c')
-rw-r--r-- | gdb/dwarfread.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/gdb/dwarfread.c b/gdb/dwarfread.c index 3fdfd1c..d5a62cc 100644 --- a/gdb/dwarfread.c +++ b/gdb/dwarfread.c @@ -239,10 +239,6 @@ typedef unsigned int DIE_REF; /* Reference to a DIE */ #define AT_short_element_list (0x00f0|FORM_BLOCK2) -/* External variables referenced. */ - -extern char *warning_pre_print; /* From utils.c */ - /* The DWARF debugging information consists of two major pieces, one is a block of DWARF Information Entries (DIE's) and the other is a line number table. The "struct dieinfo" structure contains |