diff options
author | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-06-18 15:03:56 +0000 |
---|---|---|
committer | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-06-18 15:03:56 +0000 |
commit | a208cd0d233f5fb26e22d2a80d00ccfab106182a (patch) | |
tree | 5cc304b8c6024f633f3ce313f4d50619da71d824 | |
parent | b53b8f49a6d8dd8754208bbf13f6229f5d208a74 (diff) | |
download | gcc-a208cd0d233f5fb26e22d2a80d00ccfab106182a.tar.gz |
* diagnostic.h (verbatim): Move ...
* toplev.h (verbatim): ... here. Add ATTRIBUTE_GCC_DIAG.
* pretty-print.h (pp_verbatim): Add ATTRIBUTE_GCC_PPDIAG.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@101157 138bc75d-0d04-0410-961f-82ee72b054a4
-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 3e55d5891d9..0e948b7ff99 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 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); |