diff options
author | Gabriel Dos Reis <gdr@merlin.codesourcery.com> | 2001-06-26 05:42:06 +0000 |
---|---|---|
committer | Gabriel Dos Reis <gdr@gcc.gnu.org> | 2001-06-26 05:42:06 +0000 |
commit | 255fcfbb81ffef7848ddded476fa18ef0f9b6466 (patch) | |
tree | 1cdbbb10c514c9c9c20452da89c958b0e84f5bf7 /gcc/diagnostic.h | |
parent | c0aa72210ae18e16f77ed71006d7c0176868a3c0 (diff) | |
download | gcc-255fcfbb81ffef7848ddded476fa18ef0f9b6466.zip gcc-255fcfbb81ffef7848ddded476fa18ef0f9b6466.tar.gz gcc-255fcfbb81ffef7848ddded476fa18ef0f9b6466.tar.bz2 |
diagnostic.c (digit_buffer): Remove as global.
* diagnostic.c (digit_buffer): Remove as global. Move to...
* diagnostic.h (struct output_buffer): ... here.
* diagnostic.c (output_formatted_integer): Adjust use of digit_buffer.
From-SVN: r43567
Diffstat (limited to 'gcc/diagnostic.h')
-rw-r--r-- | gcc/diagnostic.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/diagnostic.h b/gcc/diagnostic.h index 02029ea..7ef812a 100644 --- a/gcc/diagnostic.h +++ b/gcc/diagnostic.h @@ -108,6 +108,10 @@ struct output_buffer /* The amount of characters output so far. */ int line_length; + + /* This must be large enough to hold any printed integer or + floating-point value. */ + char digit_buffer[128]; }; #define output_buffer_state(BUFFER) (BUFFER)->state |