aboutsummaryrefslogtreecommitdiff
path: root/gdb/common/errors.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/common/errors.c')
-rw-r--r--gdb/common/errors.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/gdb/common/errors.c b/gdb/common/errors.c
index 7d0bb6e..d6e17a8 100644
--- a/gdb/common/errors.c
+++ b/gdb/common/errors.c
@@ -59,3 +59,15 @@ internal_error (const char *file, int line, const char *fmt, ...)
internal_verror (file, line, fmt, ap);
va_end (ap);
}
+
+/* See common/errors.h. */
+
+void
+internal_warning (const char *file, int line, const char *fmt, ...)
+{
+ va_list ap;
+
+ va_start (ap, fmt);
+ internal_vwarning (file, line, fmt, ap);
+ va_end (ap);
+}