xref: /openbsd-src/gnu/usr.bin/gcc/gcc/fixinc/tests/base/stdio.h (revision 4e43c760ad4cd5f644ec700462679d05749498d8)
1c87b03e5Sespie /*  DO NOT EDIT THIS FILE.
2c87b03e5Sespie 
3c87b03e5Sespie     It has been auto-edited by fixincludes from:
4c87b03e5Sespie 
5c87b03e5Sespie 	"fixinc/tests/inc/stdio.h"
6c87b03e5Sespie 
7c87b03e5Sespie     This had to be done to correct non-standard usages in the
8c87b03e5Sespie     original, manufacturer supplied header file.  */
9c87b03e5Sespie 
10c87b03e5Sespie #ifndef FIXINC_WRAP_STDIO_H_STDIO_STDARG_H
11c87b03e5Sespie #define FIXINC_WRAP_STDIO_H_STDIO_STDARG_H 1
12c87b03e5Sespie 
13c87b03e5Sespie #define __need___va_list
14c87b03e5Sespie #include <stdarg.h>
15c87b03e5Sespie 
16c87b03e5Sespie 
17c87b03e5Sespie #if defined( ALPHA_GETOPT_CHECK )
18c87b03e5Sespie extern int getopt(int, char *const[], const char *);
19c87b03e5Sespie #endif  /* ALPHA_GETOPT_CHECK */
20c87b03e5Sespie 
21c87b03e5Sespie 
22c87b03e5Sespie #if defined( HPUX11_VSNPRINTF_CHECK )
23c87b03e5Sespie extern int vsnprintf(char *, _hpux_size_t, const char *, __gnuc_va_list);
24c87b03e5Sespie #endif  /* HPUX11_VSNPRINTF_CHECK */
25c87b03e5Sespie 
26c87b03e5Sespie 
27*4e43c760Sespie #if defined( HPUX11_SNPRINTF_CHECK )
28*4e43c760Sespie extern int snprintf(char *, size_t, const char *, ...);
29*4e43c760Sespie extern int snprintf(char *, _hpux_size_t, const char *, ...);
30*4e43c760Sespie extern int snprintf(char *, _hpux_size_t, const char *, ...);
31*4e43c760Sespie #endif  /* HPUX11_SNPRINTF_CHECK */
32*4e43c760Sespie 
33*4e43c760Sespie 
34c87b03e5Sespie #if defined( IRIX_STDIO_DUMMY_VA_LIST_CHECK )
35c87b03e5Sespie extern int printf( const char *, __gnuc_va_list );
36c87b03e5Sespie #endif  /* IRIX_STDIO_DUMMY_VA_LIST_CHECK */
37c87b03e5Sespie 
38c87b03e5Sespie 
39c87b03e5Sespie #if defined( ISC_OMITS_WITH_STDC_CHECK )
40c87b03e5Sespie #if !defined(_POSIX_SOURCE) /* ? ! */
41c87b03e5Sespie int foo;
42c87b03e5Sespie #endif
43c87b03e5Sespie #endif  /* ISC_OMITS_WITH_STDC_CHECK */
44c87b03e5Sespie 
45c87b03e5Sespie 
46c87b03e5Sespie #if defined( READ_RET_TYPE_CHECK )
47c87b03e5Sespie extern unsigned int fread(), fwrite();
48c87b03e5Sespie extern int	fclose(), fflush(), foo();
49c87b03e5Sespie #endif  /* READ_RET_TYPE_CHECK */
50c87b03e5Sespie 
51c87b03e5Sespie 
52c87b03e5Sespie #if defined( RS6000_PARAM_CHECK )
53c87b03e5Sespie extern int rename(const char *_old, const char *_new);
54c87b03e5Sespie #endif  /* RS6000_PARAM_CHECK */
55c87b03e5Sespie 
56c87b03e5Sespie 
57c87b03e5Sespie #if defined( STDIO_STDARG_H_CHECK )
58c87b03e5Sespie 
59c87b03e5Sespie #endif  /* STDIO_STDARG_H_CHECK */
60c87b03e5Sespie 
61c87b03e5Sespie 
62c87b03e5Sespie #if defined( STDIO_DUMMY_VA_LIST_CHECK )
63c87b03e5Sespie extern void mumble( __gnuc_va_list);
64c87b03e5Sespie #endif  /* STDIO_DUMMY_VA_LIST_CHECK */
65c87b03e5Sespie 
66c87b03e5Sespie 
67c87b03e5Sespie #if defined( ULTRIX_CONST_CHECK )
68c87b03e5Sespie extern void perror( const char *__s );
69c87b03e5Sespie extern int fputs( const char *__s, FILE *);
70c87b03e5Sespie extern size_t fwrite( const void *__ptr, size_t, size_t, FILE *);
71c87b03e5Sespie extern int fscanf( FILE *__stream, const char *__format, ...);
72c87b03e5Sespie extern int scanf( const char *__format, ...);
73c87b03e5Sespie 
74c87b03e5Sespie #endif  /* ULTRIX_CONST_CHECK */
75c87b03e5Sespie 
76c87b03e5Sespie 
77c87b03e5Sespie #if defined( ULTRIX_CONST2_CHECK )
78c87b03e5Sespie extern FILE *fopen( const char *__filename, const char *__type );
79c87b03e5Sespie extern int sscanf( const char *__s, const char *__format, ...);
80c87b03e5Sespie extern FILE *popen( const char *, const char *);
81c87b03e5Sespie extern char *tempnam( const char *, const char *);
82c87b03e5Sespie 
83c87b03e5Sespie #endif  /* ULTRIX_CONST2_CHECK */
84c87b03e5Sespie 
85c87b03e5Sespie 
86c87b03e5Sespie #if defined( UNICOSMK_RESTRICT_CHECK )
87c87b03e5Sespie void f (char * __restrict__ x);
88c87b03e5Sespie #endif  /* UNICOSMK_RESTRICT_CHECK */
89c87b03e5Sespie 
90c87b03e5Sespie #endif  /* FIXINC_WRAP_STDIO_H_STDIO_STDARG_H */
91