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/cpplib.c | |
parent | ecae31d652106c1f3b7429570de013c3bbf33e7a (diff) |
remove ANSI_PROTOTYPES ifdefs
Diffstat (limited to 'gcc/cpplib.c')
-rwxr-xr-x | gcc/cpplib.c | 72 |
1 files changed, 0 insertions, 72 deletions
diff --git a/gcc/cpplib.c b/gcc/cpplib.c index 41f24f1..914912d 100755 --- a/gcc/cpplib.c +++ b/gcc/cpplib.c @@ -6250,18 +6250,10 @@ v_cpp_error (pfile, msg, ap) void cpp_error (cpp_reader * pfile, const char *msg, ...) { -#ifndef ANSI_PROTOTYPES - cpp_reader *pfile; - const char *msg; -#endif va_list ap; VA_START(ap, msg); -#ifndef ANSI_PROTOTYPES - pfile = va_arg (ap, cpp_reader *); - msg = va_arg (ap, const char *); -#endif v_cpp_error (pfile, msg, ap); va_end(ap); @@ -6289,18 +6281,10 @@ v_cpp_warning (pfile, msg, ap) void cpp_warning (cpp_reader * pfile, const char *msg, ...) { -#ifndef ANSI_PROTOTYPES - cpp_reader *pfile; - const char *msg; -#endif va_list ap; VA_START (ap, msg); -#ifndef ANSI_PROTOTYPES - pfile = va_arg (ap, cpp_reader *); - msg = va_arg (ap, const char *); -#endif v_cpp_warning (pfile, msg, ap); va_end(ap); @@ -6311,18 +6295,10 @@ cpp_warning (cpp_reader * pfile, const char *msg, ...) void cpp_pedwarn (cpp_reader * pfile, const char *msg, ...) { -#ifndef ANSI_PROTOTYPES - cpp_reader *pfile; - const char *msg; -#endif va_list ap; VA_START (ap, msg); -#ifndef ANSI_PROTOTYPES - pfile = va_arg (ap, cpp_reader *); - msg = va_arg (ap, const char *); -#endif if (CPP_OPTIONS (pfile)->pedantic_errors) v_cpp_error (pfile, msg, ap); @@ -6352,22 +6328,10 @@ v_cpp_error_with_line (pfile, line, column, msg, ap) void cpp_error_with_line (cpp_reader * pfile, int line, int column, const char *msg, ...) { -#ifndef ANSI_PROTOTYPES - cpp_reader *pfile; - int line; - int column; - const char *msg; -#endif va_list ap; VA_START (ap, msg); -#ifndef ANSI_PROTOTYPES - pfile = va_arg (ap, cpp_reader *); - line = va_arg (ap, int); - column = va_arg (ap, int); - msg = va_arg (ap, const char *); -#endif v_cpp_error_with_line(pfile, line, column, msg, ap); va_end(ap); @@ -6403,22 +6367,10 @@ v_cpp_warning_with_line (pfile, line, column, msg, ap) static void cpp_warning_with_line (cpp_reader * pfile, int line, int column, const char *msg, ...) { -#ifndef ANSI_PROTOTYPES - cpp_reader *pfile; - int line; - int column; - const char *msg; -#endif va_list ap; VA_START (ap, msg); -#ifndef ANSI_PROTOTYPES - pfile = va_arg (ap, cpp_reader *); - line = va_arg (ap, int); - column = va_arg (ap, int); - msg = va_arg (ap, const char *); -#endif v_cpp_warning_with_line (pfile, line, column, msg, ap); va_end(ap); @@ -6428,22 +6380,10 @@ cpp_warning_with_line (cpp_reader * pfile, int line, int column, const char *msg void cpp_pedwarn_with_line (cpp_reader * pfile, int line, int column, const char *msg, ...) { -#ifndef ANSI_PROTOTYPES - cpp_reader *pfile; - int line; - int column; - const char *msg; -#endif va_list ap; VA_START (ap, msg); -#ifndef ANSI_PROTOTYPES - pfile = va_arg (ap, cpp_reader *); - line = va_arg (ap, int); - column = va_arg (ap, int); - msg = va_arg (ap, const char *); -#endif if (CPP_OPTIONS (pfile)->pedantic_errors) v_cpp_error_with_line (pfile, column, line, msg, ap); @@ -6458,22 +6398,10 @@ cpp_pedwarn_with_line (cpp_reader * pfile, int line, int column, const char *msg void cpp_pedwarn_with_file_and_line (cpp_reader *pfile, char *file, int line, const char *msg, ...) { -#ifndef ANSI_PROTOTYPES - cpp_reader *pfile; - char *file; - int line; - const char *msg; -#endif va_list ap; VA_START (ap, msg); -#ifndef ANSI_PROTOTYPES - pfile = va_arg (ap, cpp_reader *); - file = va_arg (ap, char *); - line = va_arg (ap, int); - msg = va_arg (ap, const char *); -#endif if (!CPP_OPTIONS (pfile)->pedantic_errors && CPP_OPTIONS (pfile)->inhibit_warnings) |