From bbe0e72828710bb413ce01e22173adcc761ec7f8 Mon Sep 17 00:00:00 2001 From: YamaArashi Date: Tue, 16 Feb 2016 01:27:33 -0800 Subject: remove ANSI_PROTOTYPES ifdefs --- gcc/cpperror.c | 18 ------------------ 1 file changed, 18 deletions(-) (limited to 'gcc/cpperror.c') diff --git a/gcc/cpperror.c b/gcc/cpperror.c index 90e2cc2..1d95086 100755 --- a/gcc/cpperror.c +++ b/gcc/cpperror.c @@ -111,20 +111,10 @@ v_cpp_message (pfile, is_error, msg, ap) void cpp_message (cpp_reader *pfile, int is_error, const char *msg, ...) { -#ifndef ANSI_PROTOTYPES - cpp_reader *pfile; - int is_error; - const char *msg; -#endif va_list ap; VA_START (ap, msg); -#ifndef ANSI_PROTOTYPES - pfile = va_arg (ap, cpp_reader *); - is_error = va_arg (ap, int); - msg = va_arg (ap, const char *); -#endif v_cpp_message(pfile, is_error, msg, ap); va_end(ap); @@ -139,18 +129,10 @@ cpp_message (cpp_reader *pfile, int is_error, const char *msg, ...) void cpp_fatal (cpp_reader *pfile, const char *str, ...) { -#ifndef ANSI_PROTOTYPES - cpp_reader *pfile; - const char *str; -#endif va_list ap; VA_START (ap, str); -#ifndef ANSI_PROTOTYPES - pfile = va_arg (ap, cpp_reader *); - str = va_arg (ap, const char *); -#endif fprintf (stderr, "%s: ", progname); v_cpp_message (pfile, 2, str, ap); -- cgit v1.2.3