diff options
author | YamaArashi <shadow962@live.com> | 2016-02-16 01:27:33 -0800 |
---|---|---|
committer | YamaArashi <shadow962@live.com> | 2016-02-16 01:27:33 -0800 |
commit | bbe0e72828710bb413ce01e22173adcc761ec7f8 (patch) | |
tree | 30ba7dc9393ebc3a971200ec612debbc8c029da9 /gcc/cpperror.c | |
parent | ecae31d652106c1f3b7429570de013c3bbf33e7a (diff) |
remove ANSI_PROTOTYPES ifdefs
Diffstat (limited to 'gcc/cpperror.c')
-rwxr-xr-x | gcc/cpperror.c | 18 |
1 files changed, 0 insertions, 18 deletions
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); |