summaryrefslogtreecommitdiffstats
path: root/gcc/diagnostic.c
diff options
context:
space:
mode:
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 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;
OpenPOWER on IntegriCloud