Commit 04fe4385 by Richard Kenner

Include <stdarg.h> instead of "gstdarg.h"; similarly for varargs.

From-SVN: r6922
parent b5f3b6b6
...@@ -20,9 +20,9 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ ...@@ -20,9 +20,9 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#include "config.h" #include "config.h"
#ifdef __STDC__ #ifdef __STDC__
#include "gstdarg.h" #include <stdarg.h>
#else #else
#include "gvarargs.h" #include <gvarargs.h>
#endif #endif
#include "machmode.h" #include "machmode.h"
#include "rtl.h" #include "rtl.h"
......
...@@ -23,9 +23,9 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ ...@@ -23,9 +23,9 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#include "flags.h" #include "flags.h"
#include "expr.h" #include "expr.h"
#ifdef __STDC__ #ifdef __STDC__
#include "gstdarg.h" #include <stdarg.h>
#else #else
#include "gvarargs.h" #include <varargs.h>
#endif #endif
#include "insn-flags.h" #include "insn-flags.h"
......
...@@ -75,9 +75,9 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ ...@@ -75,9 +75,9 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#include "config.h" #include "config.h"
#ifdef __STDC__ #ifdef __STDC__
#include "gstdarg.h" #include <stdarg.h>
#else #else
#include "gvarargs.h" #include <varargs.h>
#endif #endif
/* Must precede rtl.h for FFS. */ /* Must precede rtl.h for FFS. */
......
...@@ -35,9 +35,9 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ ...@@ -35,9 +35,9 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#include "config.h" #include "config.h"
#ifdef __STDC__ #ifdef __STDC__
#include "gstdarg.h" #include <stdarg.h>
#else #else
#include "gvarargs.h" #include <varargs.h>
#endif #endif
#include "rtl.h" #include "rtl.h"
#include "tree.h" #include "tree.h"
......
...@@ -45,9 +45,9 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ ...@@ -45,9 +45,9 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#include "config.h" #include "config.h"
#ifdef __STDC__ #ifdef __STDC__
#include "gstdarg.h" #include <stdarg.h>
#else #else
#include "gvarargs.h" #include <varargs.h>
#endif #endif
#include "tree.h" #include "tree.h"
#include "rtl.h" #include "rtl.h"
......
...@@ -95,11 +95,11 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ ...@@ -95,11 +95,11 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#include "hconfig.h" #include "hconfig.h"
/* gvarargs must always be included after *config.h. */ /* varargs must always be included after *config.h. */
#ifdef __STDC__ #ifdef __STDC__
#include "gstdarg.h" #include <stdarg.h>
#else #else
#include "gvarargs.h" #include <varargs.h>
#endif #endif
#include "rtl.h" #include "rtl.h"
#include "insn-config.h" /* For REGISTER_CONSTRAINTS */ #include "insn-config.h" /* For REGISTER_CONSTRAINTS */
......
...@@ -599,9 +599,9 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ ...@@ -599,9 +599,9 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#ifdef __STDC__ #ifdef __STDC__
#include "gstdarg.h" #include <stdarg.h>
#else #else
#include "gvarargs.h" #include <varargs.h>
#endif #endif
#include "config.h" #include "config.h"
#include <stdio.h> #include <stdio.h>
......
...@@ -56,9 +56,9 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ ...@@ -56,9 +56,9 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#define _POSIX_SOURCE #define _POSIX_SOURCE
#endif #endif
#include "gvarargs.h" #include <varargs.h>
/* On some systems stdio.h includes stdarg.h; /* On some systems stdio.h includes stdarg.h;
we must bring in gvarargs.h first. */ we must bring in varargs.h first. */
#include <stdio.h> #include <stdio.h>
#include <ctype.h> #include <ctype.h>
#include <errno.h> #include <errno.h>
......
...@@ -25,9 +25,9 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ ...@@ -25,9 +25,9 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#include "config.h" #include "config.h"
#ifdef __STDC__ #ifdef __STDC__
#include "gstdarg.h" #include <stdarg.h>
#else #else
#include "gvarargs.h" #include <varargs.h>
#endif #endif
#include <stdio.h> #include <stdio.h>
#include <signal.h> #include <signal.h>
......
...@@ -39,9 +39,9 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ ...@@ -39,9 +39,9 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#include "function.h" #include "function.h"
#include "obstack.h" #include "obstack.h"
#ifdef __STDC__ #ifdef __STDC__
#include "gstdarg.h" #include <stdarg.h>
#else #else
#include "gvarargs.h" #include <varargs.h>
#endif #endif
#include <stdio.h> #include <stdio.h>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment