aboutsummaryrefslogtreecommitdiff
path: root/gcc/diagnostic.c
diff options
context:
space:
mode:
authorGabriel Dos Reis <gdr@integrable-solutions.net>2003-05-09 10:08:19 +0000
committerGabriel Dos Reis <gdr@gcc.gnu.org>2003-05-09 10:08:19 +0000
commit3c4b64384bd9a35ab3383dabc5d41a892089510f (patch)
tree9a488dafed721b37d0e287e45090ec46d2853f94 /gcc/diagnostic.c
parent49468c8be16b9d3c18257ad86be42371a12dd3ca (diff)
downloadgcc-3c4b64384bd9a35ab3383dabc5d41a892089510f.zip
gcc-3c4b64384bd9a35ab3383dabc5d41a892089510f.tar.gz
gcc-3c4b64384bd9a35ab3383dabc5d41a892089510f.tar.bz2
toplev.h (warning_with_file_and_line): Don't declare.
* 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. From-SVN: r66628
Diffstat (limited to 'gcc/diagnostic.c')
-rw-r--r--gcc/diagnostic.c32
1 files changed, 0 insertions, 32 deletions
diff --git a/gcc/diagnostic.c b/gcc/diagnostic.c
index 58450b1..e7e39ba 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;