aboutsummaryrefslogtreecommitdiff
path: root/gcc/errors.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/errors.c')
-rw-r--r--gcc/errors.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/gcc/errors.c b/gcc/errors.c
index fcc3446..d89e14d 100644
--- a/gcc/errors.c
+++ b/gcc/errors.c
@@ -40,8 +40,8 @@ int have_error = 0;
/* Print a warning message - output produced, but there may be problems. */
-bool
-warning (int opt ATTRIBUTE_UNUSED, const char *format, ...)
+void
+warning (const char *format, ...)
{
va_list ap;
@@ -50,7 +50,6 @@ warning (int opt ATTRIBUTE_UNUSED, const char *format, ...)
vfprintf (stderr, format, ap);
va_end (ap);
fputc('\n', stderr);
- return true;
}