* 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.
This commit is contained in:
Andrew Cagney
2002-02-02 02:28:40 +00:00
parent 60e955f1b0
commit ddfe3c1587
4 changed files with 53 additions and 35 deletions

View File

@@ -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