diff options
author | gdr <gdr@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-05-09 10:08:19 +0000 |
---|---|---|
committer | gdr <gdr@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-05-09 10:08:19 +0000 |
commit | d5ac54ab82ea923a64b03b0a89905493e4d48656 (patch) | |
tree | 9a488dafed721b37d0e287e45090ec46d2853f94 /gcc/diagnostic.c | |
parent | b14b763f1fd43a15ebafaeedf8b520849d7459a5 (diff) | |
download | gcc-d5ac54ab82ea923a64b03b0a89905493e4d48656.tar.gz |
* toplev.h (warning_with_file_and_line): Don't declare.
(error_with_file_and_line): Likewise.
* diagnostic.c (error_with_file_and_line): Remove.
(warning_with_file_and_line): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66628 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/diagnostic.c')
-rw-r--r-- | gcc/diagnostic.c | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/gcc/diagnostic.c b/gcc/diagnostic.c index 58450b1a361..e7e39ba9e18 100644 --- a/gcc/diagnostic.c +++ b/gcc/diagnostic.c @@ -1080,22 +1080,6 @@ diagnostic_report_current_function (context) } void -error_with_file_and_line VPARAMS ((const char *file, int line, - const char *msgid, ...)) -{ - diagnostic_info diagnostic; - - VA_OPEN (ap, msgid); - VA_FIXEDARG (ap, const char *, file); - VA_FIXEDARG (ap, int, line); - VA_FIXEDARG (ap, const char *, msgid); - - diagnostic_set_info (&diagnostic, msgid, &ap, file, line, DK_ERROR); - report_diagnostic (&diagnostic); - VA_CLOSE (ap); -} - -void error_with_decl VPARAMS ((tree decl, const char *msgid, ...)) { diagnostic_info diagnostic; @@ -1183,22 +1167,6 @@ See %s for instructions.\n", bug_report_url); } void -warning_with_file_and_line VPARAMS ((const char *file, int line, - const char *msgid, ...)) -{ - diagnostic_info diagnostic; - - VA_OPEN (ap, msgid); - VA_FIXEDARG (ap, const char *, file); - VA_FIXEDARG (ap, int, line); - VA_FIXEDARG (ap, const char *, msgid); - - diagnostic_set_info (&diagnostic, msgid, &ap, file, line, DK_WARNING); - report_diagnostic (&diagnostic); - VA_CLOSE (ap); -} - -void warning_with_decl VPARAMS ((tree decl, const char *msgid, ...)) { diagnostic_info diagnostic; |