summaryrefslogtreecommitdiff
path: root/gcc/diagnostic.c
diff options
context:
space:
mode:
authorgdr <gdr@138bc75d-0d04-0410-961f-82ee72b054a4>2002-07-29 08:26:45 +0000
committergdr <gdr@138bc75d-0d04-0410-961f-82ee72b054a4>2002-07-29 08:26:45 +0000
commitb38e286c9b97107691417027ff2c6d784ab6bafd (patch)
tree2363601d56cb77885f5b17bf887c20e645e9de31 /gcc/diagnostic.c
parentd0290aea25c362bc831a294386e8c9010f5903ea (diff)
downloadgcc-b38e286c9b97107691417027ff2c6d784ab6bafd.tar.gz
* pretty-print.h: Define more macros.
* diagnostic.h (output_formatted_integer): Moved from... * diagnostic.c: ... here. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55833 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/diagnostic.c')
-rw-r--r--gcc/diagnostic.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/gcc/diagnostic.c b/gcc/diagnostic.c
index 89130cc169a..2343d243c31 100644
--- a/gcc/diagnostic.c
+++ b/gcc/diagnostic.c
@@ -37,14 +37,6 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
#include "langhooks.h"
#include "langhooks-def.h"
-#define output_formatted_integer(BUFFER, FORMAT, INTEGER) \
- do \
- { \
- sprintf ((BUFFER)->digit_buffer, FORMAT, INTEGER); \
- output_add_string (BUFFER, (BUFFER)->digit_buffer); \
- } \
- while (0)
-
#define output_text_length(BUFFER) (BUFFER)->line_length
#define is_starting_newline(BUFFER) (output_text_length (BUFFER) == 0)
#define line_wrap_cutoff(BUFFER) (BUFFER)->state.maximum_length