summaryrefslogtreecommitdiff
path: root/gcc/protoize.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/protoize.c')
-rw-r--r--gcc/protoize.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/gcc/protoize.c b/gcc/protoize.c
index dfaa38051e1..a83add6db72 100644
--- a/gcc/protoize.c
+++ b/gcc/protoize.c
@@ -513,13 +513,13 @@ static char * saved_repl_write_ptr;
/* Translate and output an error message. */
static void
-notice VPARAMS ((const char *msgid, ...))
+notice (const char *msgid, ...)
{
- VA_OPEN (ap, msgid);
- VA_FIXEDARG (ap, const char *, msgid);
-
+ va_list ap;
+
+ va_start (ap, msgid);
vfprintf (stderr, _(msgid), ap);
- VA_CLOSE (ap);
+ va_end (ap);
}