From 2c8b10961fa33abb06d8acebffa4ac3eaec82086 Mon Sep 17 00:00:00 2001 From: "Kaveh R. Ghazi" Date: Sat, 18 Jun 2005 15:03:56 +0000 Subject: [PATCH] diagnostic.h (verbatim): Move ... * diagnostic.h (verbatim): Move ... * toplev.h (verbatim): ... here. Add ATTRIBUTE_GCC_DIAG. * pretty-print.h (pp_verbatim): Add ATTRIBUTE_GCC_PPDIAG. From-SVN: r101157 --- gcc/ChangeLog | 6 ++++++ gcc/diagnostic.h | 1 - gcc/pretty-print.h | 3 ++- gcc/toplev.h | 1 + 4 files changed, 9 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 3e55d5891d9..0e948b7ff99 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2005-06-18 Kaveh R. Ghazi + + * diagnostic.h (verbatim): Move ... + * toplev.h (verbatim): ... here. Add ATTRIBUTE_GCC_DIAG. + * pretty-print.h (pp_verbatim): Add ATTRIBUTE_GCC_PPDIAG. + 2005-06-18 Roger Sayle PR target/22083 diff --git a/gcc/diagnostic.h b/gcc/diagnostic.h index 5bbb135ac34..c78ffcda654 100644 --- a/gcc/diagnostic.h +++ b/gcc/diagnostic.h @@ -186,7 +186,6 @@ extern void diagnostic_set_info (diagnostic_info *, const char *, va_list *, extern char *diagnostic_build_prefix (diagnostic_info *); /* Pure text formatting support functions. */ -extern void verbatim (const char *, ...); extern char *file_name_as_prefix (const char *); /* In tree-pretty-print.c */ diff --git a/gcc/pretty-print.h b/gcc/pretty-print.h index 8a9b91c9bdb..3f3489672bc 100644 --- a/gcc/pretty-print.h +++ b/gcc/pretty-print.h @@ -261,7 +261,8 @@ extern void pp_base_append_text (pretty_printer *, const char *, const char *); extern void pp_printf (pretty_printer *, const char *, ...) ATTRIBUTE_GCC_PPDIAG(2,3); -extern void pp_verbatim (pretty_printer *, const char *, ...); +extern void pp_verbatim (pretty_printer *, const char *, ...) + ATTRIBUTE_GCC_PPDIAG(2,3); extern void pp_base_flush (pretty_printer *); extern void pp_base_prepare_to_format (pretty_printer *, text_info *, location_t *); diff --git a/gcc/toplev.h b/gcc/toplev.h index 7e759e16c63..0b075e13054 100644 --- a/gcc/toplev.h +++ b/gcc/toplev.h @@ -73,6 +73,7 @@ extern void fatal_error (const char *, ...) ATTRIBUTE_GCC_DIAG(1,2) extern void pedwarn (const char *, ...) ATTRIBUTE_GCC_FE_DIAG(1,2); extern void sorry (const char *, ...) ATTRIBUTE_GCC_FE_DIAG(1,2); extern void inform (const char *, ...) ATTRIBUTE_GCC_DIAG(1,2); +extern void verbatim (const char *, ...) ATTRIBUTE_GCC_DIAG(1,2); extern void rest_of_decl_compilation (tree, int, int); extern void rest_of_type_compilation (tree, int); -- 2.30.2