OSDN Git Service

Add fix test from irix_stdio_dummy_va_list
[pf3gnuchains/gcc-fork.git] / gcc / fixinc / tests / base / stdio.h
index a050aa3..a7b4550 100644 (file)
@@ -1,3 +1,12 @@
+/*  DO NOT EDIT THIS FILE.
+
+    It has been auto-edited by fixincludes from:
+
+       "fixinc/tests/inc/stdio.h"
+
+    This had to be done to correct non-standard usages in the
+    original, manufacturer supplied header file.  */
+
 #ifndef FIXINC_STDIO_STDARG_H_CHECK
 #define FIXINC_STDIO_STDARG_H_CHECK 1
 
@@ -17,6 +26,11 @@ int foo;
 #endif  /* ISC_OMITS_WITH_STDC_CHECK */
 
 
+#if defined( IRIX_STDIO_DUMMY_VA_LIST_CHECK )
+extern int printf( const char *, __gnuc_va_list );
+#endif  /* IRIX_STDIO_DUMMY_VA_LIST_CHECK */
+
+
 #if defined( READ_RET_TYPE_CHECK )
 extern unsigned int fread(), fwrite();
 extern int     fclose(), fflush(), foo();
@@ -32,4 +46,28 @@ extern int rename(const char *_old, const char *_new);
 
 #endif  /* STDIO_STDARG_H_CHECK */
 
+
+#if defined( STDIO_DUMMY_VA_LIST_CHECK )
+extern void mumble( __gnuc_va_list);
+#endif  /* STDIO_DUMMY_VA_LIST_CHECK */
+
+
+#if defined( ULTRIX_CONST_CHECK )
+extern void perror( const char *__s );
+extern int fputs( const char *__s, FILE *);
+extern size_t fwrite( const void *__ptr, size_t, size_t, FILE *);
+extern int fscanf( FILE *__stream, const char *__format, ...);
+extern int scanf( const char *__format, ...);
+
+#endif  /* ULTRIX_CONST_CHECK */
+
+
+#if defined( ULTRIX_CONST2_CHECK )
+extern FILE *fopen( const char *__filename, const char *__type );
+extern int sscanf( const char *__s, const char *__format, ...);
+extern FILE *popen( const char *, const char *);
+extern char *tempnam( const char *, const char *);
+
+#endif  /* ULTRIX_CONST2_CHECK */
+
 #endif  /* FIXINC_STDIO_STDARG_H_CHECK */