diff options
Diffstat (limited to 'gcc/gcov.c')
-rw-r--r-- | gcc/gcov.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/gcc/gcov.c b/gcc/gcov.c index 32590cba2fa..3a7de61d3f4 100644 --- a/gcc/gcov.c +++ b/gcc/gcov.c @@ -362,14 +362,13 @@ main (argc, argv) } static void -fnotice VPARAMS ((FILE *file, const char *msgid, ...)) +fnotice (FILE *file, const char *msgid, ...) { - VA_OPEN (ap, msgid); - VA_FIXEDARG (ap, FILE *, file); - VA_FIXEDARG (ap, const char *, msgid); - + va_list ap; + + va_start (ap, msgid); vfprintf (file, _(msgid), ap); - VA_CLOSE (ap); + va_end (ap); } /* More 'friendly' abort that prints the line and file. |