diff options
author | Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | 2005-06-18 15:03:56 +0000 |
---|---|---|
committer | Kaveh Ghazi <ghazi@gcc.gnu.org> | 2005-06-18 15:03:56 +0000 |
commit | 2c8b10961fa33abb06d8acebffa4ac3eaec82086 (patch) | |
tree | 5cc304b8c6024f633f3ce313f4d50619da71d824 /gcc | |
parent | d6837ddcd40834185a24066ea76b5f493ac32282 (diff) | |
download | gcc-2c8b10961fa33abb06d8acebffa4ac3eaec82086.zip gcc-2c8b10961fa33abb06d8acebffa4ac3eaec82086.tar.gz gcc-2c8b10961fa33abb06d8acebffa4ac3eaec82086.tar.bz2 |
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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/diagnostic.h | 1 | ||||
-rw-r--r-- | gcc/pretty-print.h | 3 | ||||
-rw-r--r-- | gcc/toplev.h | 1 |
4 files changed, 9 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 3e55d58..0e948b7 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2005-06-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> + + * 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 <roger@eyesopen.com> PR target/22083 diff --git a/gcc/diagnostic.h b/gcc/diagnostic.h index 5bbb135..c78ffcd 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 8a9b91c..3f34896 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 7e759e1..0b075e1 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); |