diff options
author | Paolo Bonzini <bonzini@gcc.gnu.org> | 2004-08-31 09:27:00 +0000 |
---|---|---|
committer | Paolo Bonzini <bonzini@gcc.gnu.org> | 2004-08-31 09:27:00 +0000 |
commit | 71b5d516bc6cd5fc865ac560e4bea70607207272 (patch) | |
tree | e19ddbe1d510ce04084d29a56d22cd1051cc1767 /gcc/fixinc/tests/base | |
parent | f7b0fb680c62cc0e246909ec8be88c10e85e3d69 (diff) | |
download | gcc-71b5d516bc6cd5fc865ac560e4bea70607207272.zip gcc-71b5d516bc6cd5fc865ac560e4bea70607207272.tar.gz gcc-71b5d516bc6cd5fc865ac560e4bea70607207272.tar.bz2 |
Made fixincludes a toplevel build module.
toplevel:
2004-08-31 Paolo Bonzini <bonzini@gnu.org>
* Makefile.def (build_modules): Add fixincludes.
(dependencies): Make gcc depend on fixincludes.
* configure.in (build_tools): Add fixincludes.
(build_configdirs): Always include build_libs.
* Makefile.in: Regenerate.
* configure: Regenerate.
contrib:
2004-08-04 Paolo Bonzini <bonzini@gnu.org>
* gcc_update: Add fixincludes.
fixincludes:
2004-08-31 Paolo Bonzini <bonzini@gnu.org>
* .cvsignore: New.
* Makefile.in: From gcc/fixinc/Makefile.in, making it fully
autoconfiscated.
* configure.ac: New.
* config.h.in: Generate.
* configure: Generate.
* aclocal.m4: New.
* fixlib.h: Remove inclusions of gcc files.
* system.h: New.
Other files copied from gcc/fixinc.
gcc:
2004-08-31 Paolo Bonzini <bonzini@gnu.org>
* Makefile.in (build_subdir): New substitution.
(fixinc.sh): Simplify heavily since fixincludes is already built.
(stmp-fixinc): Depend on specs.ready.
(install-mkheaders): Use new location of fixincludes.
(clean): Do not descend into fixinc.
(FORBUILD): Replace with ../$(build_subdir).
* configure.ac (build_subdir): Substitute.
(FORBUILD): Do not set.
(all_outputs): Remove fixinc/Makefile.
(default commands): Do not create links in fixinc.
* mkfixinc.sh: New, from fixinc/mkfixinc.sh without
the fixincludes configuration steps and substituting
@FIXINCL@ in fixinc.in.
* fixinc.in: New, from fixinc/fixincl.sh.
* fixinc/*: Removed.
From-SVN: r86824
Diffstat (limited to 'gcc/fixinc/tests/base')
78 files changed, 0 insertions, 2072 deletions
diff --git a/gcc/fixinc/tests/base/X11/ShellP.h b/gcc/fixinc/tests/base/X11/ShellP.h deleted file mode 100644 index 45e8e1f..0000000 --- a/gcc/fixinc/tests/base/X11/ShellP.h +++ /dev/null @@ -1,21 +0,0 @@ -/* DO NOT EDIT THIS FILE. - - It has been auto-edited by fixincludes from: - - "fixinc/tests/inc/X11/ShellP.h" - - This had to be done to correct non-standard usages in the - original, manufacturer supplied header file. */ - - - -#if defined( X11_CLASS_CHECK ) -struct { -#ifdef __cplusplus - char *c_class; -#else - char *class; -#endif -} mumble; - -#endif /* X11_CLASS_CHECK */ diff --git a/gcc/fixinc/tests/base/X11/Xmu.h b/gcc/fixinc/tests/base/X11/Xmu.h deleted file mode 100644 index 5fac5db..0000000 --- a/gcc/fixinc/tests/base/X11/Xmu.h +++ /dev/null @@ -1,16 +0,0 @@ -/* DO NOT EDIT THIS FILE. - - It has been auto-edited by fixincludes from: - - "fixinc/tests/inc/X11/Xmu.h" - - This had to be done to correct non-standard usages in the - original, manufacturer supplied header file. */ - - - -#if defined( X11_SPRINTF_CHECK ) -#ifndef __STDC__ -extern char * sprintf(); -#endif /* !defined __STDC__ */ -#endif /* X11_SPRINTF_CHECK */ diff --git a/gcc/fixinc/tests/base/Xm/BaseClassI.h b/gcc/fixinc/tests/base/Xm/BaseClassI.h deleted file mode 100644 index afc3a89..0000000 --- a/gcc/fixinc/tests/base/Xm/BaseClassI.h +++ /dev/null @@ -1,15 +0,0 @@ -/* DO NOT EDIT THIS FILE. - - It has been auto-edited by fixincludes from: - - "fixinc/tests/inc/Xm/BaseClassI.h" - - This had to be done to correct non-standard usages in the - original, manufacturer supplied header file. */ - - - -#if defined( X11_CLASS_USAGE_CHECK ) -extern mumble (int c_class); - -#endif /* X11_CLASS_USAGE_CHECK */ diff --git a/gcc/fixinc/tests/base/Xm/Traversal.h b/gcc/fixinc/tests/base/Xm/Traversal.h deleted file mode 100644 index 61e6df1..0000000 --- a/gcc/fixinc/tests/base/Xm/Traversal.h +++ /dev/null @@ -1,21 +0,0 @@ -/* DO NOT EDIT THIS FILE. - - It has been auto-edited by fixincludes from: - - "fixinc/tests/inc/Xm/Traversal.h" - - This had to be done to correct non-standard usages in the - original, manufacturer supplied header file. */ - - - -#if defined( X11_NEW_CHECK ) -struct wedge { -#ifdef __cplusplus - Widget old, c_new; -#else - Widget old, new; /* fixinc check FAILS ON BSD */ -#endif -}; -extern Wedged( Widget c_new, Widget old ); -#endif /* X11_NEW_CHECK */ diff --git a/gcc/fixinc/tests/base/_G_config.h b/gcc/fixinc/tests/base/_G_config.h deleted file mode 100644 index 99f0c82..0000000 --- a/gcc/fixinc/tests/base/_G_config.h +++ /dev/null @@ -1,14 +0,0 @@ -/* DO NOT EDIT THIS FILE. - - It has been auto-edited by fixincludes from: - - "fixinc/tests/inc/_G_config.h" - - This had to be done to correct non-standard usages in the - original, manufacturer supplied header file. */ - - - -#if defined( LIBC1_G_VA_LIST_CHECK ) -typedef __builtin_va_list _G_va_list; -#endif /* LIBC1_G_VA_LIST_CHECK */ diff --git a/gcc/fixinc/tests/base/ansi/math.h b/gcc/fixinc/tests/base/ansi/math.h deleted file mode 100644 index c8a9ca2..0000000 --- a/gcc/fixinc/tests/base/ansi/math.h +++ /dev/null @@ -1,14 +0,0 @@ -/* DO NOT EDIT THIS FILE. - - It has been auto-edited by fixincludes from: - - "fixinc/tests/inc/ansi/math.h" - - This had to be done to correct non-standard usages in the - original, manufacturer supplied header file. */ - - - -#if defined( NEXT_MATH_PREFIX_CHECK ) -extern double mumble(); -#endif /* NEXT_MATH_PREFIX_CHECK */ diff --git a/gcc/fixinc/tests/base/ansi/stdlib.h b/gcc/fixinc/tests/base/ansi/stdlib.h deleted file mode 100644 index e47d49c..0000000 --- a/gcc/fixinc/tests/base/ansi/stdlib.h +++ /dev/null @@ -1,14 +0,0 @@ -/* DO NOT EDIT THIS FILE. - - It has been auto-edited by fixincludes from: - - "fixinc/tests/inc/ansi/stdlib.h" - - This had to be done to correct non-standard usages in the - original, manufacturer supplied header file. */ - - - -#if defined( NEXT_VOLITILE_CHECK ) -extern void abort(); -#endif /* NEXT_VOLITILE_CHECK */ diff --git a/gcc/fixinc/tests/base/arch/i960/archI960.h b/gcc/fixinc/tests/base/arch/i960/archI960.h deleted file mode 100644 index b886700..0000000 --- a/gcc/fixinc/tests/base/arch/i960/archI960.h +++ /dev/null @@ -1,17 +0,0 @@ -/* DO NOT EDIT THIS FILE. - - It has been auto-edited by fixincludes from: - - "fixinc/tests/inc/arch/i960/archI960.h" - - This had to be done to correct non-standard usages in the - original, manufacturer supplied header file. */ - - - -#if defined( VA_I960_MACRO_CHECK ) -extern int __vxvsiz vsiz; -extern int __vxvali vali; -extern int __vxvpad vpad; -#define __vxalignof__(x) ... -#endif /* VA_I960_MACRO_CHECK */ diff --git a/gcc/fixinc/tests/base/arpa/inet.h b/gcc/fixinc/tests/base/arpa/inet.h deleted file mode 100644 index acd8ed5..0000000 --- a/gcc/fixinc/tests/base/arpa/inet.h +++ /dev/null @@ -1,15 +0,0 @@ -/* DO NOT EDIT THIS FILE. - - It has been auto-edited by fixincludes from: - - "fixinc/tests/inc/arpa/inet.h" - - This had to be done to correct non-standard usages in the - original, manufacturer supplied header file. */ - - - -#if defined( UW7_BYTEORDER_FIX_CHECK ) - - -#endif /* UW7_BYTEORDER_FIX_CHECK */ diff --git a/gcc/fixinc/tests/base/assert.h b/gcc/fixinc/tests/base/assert.h deleted file mode 100644 index 2642cbe..0000000 --- a/gcc/fixinc/tests/base/assert.h +++ /dev/null @@ -1,43 +0,0 @@ -/* DO NOT EDIT THIS FILE. - - It has been auto-edited by fixincludes from: - - "fixinc/tests/inc/assert.h" - - This had to be done to correct non-standard usages in the - original, manufacturer supplied header file. */ - -#ifndef FIXINC_WRAP_ASSERT_H_BROKEN_ASSERT_STDLIB -#define FIXINC_WRAP_ASSERT_H_BROKEN_ASSERT_STDLIB 1 - -#ifdef __cplusplus -#include <stdlib.h> -#endif -#ifndef FIXINC_WRAP_ASSERT_H_BROKEN_ASSERT_STDIO -#define FIXINC_WRAP_ASSERT_H_BROKEN_ASSERT_STDIO 1 - -#include <stdio.h> - - -#if defined( ALPHA___ASSERT_CHECK ) -extern void __assert(const char *, const char *, int); -#endif /* ALPHA___ASSERT_CHECK */ - - -#if defined( ALPHA_ASSERT_CHECK ) -#define assert(EX) ((EX) ? (void)0 : __assert(#EX, __FILE__, __LINE__)) -#endif /* ALPHA_ASSERT_CHECK */ - - -#if defined( BROKEN_ASSERT_STDIO_CHECK ) -extern FILE* stderr; -#endif /* BROKEN_ASSERT_STDIO_CHECK */ - - -#if defined( BROKEN_ASSERT_STDLIB_CHECK ) -extern void exit ( int ); -#endif /* BROKEN_ASSERT_STDLIB_CHECK */ - -#endif /* FIXINC_WRAP_ASSERT_H_BROKEN_ASSERT_STDIO */ - -#endif /* FIXINC_WRAP_ASSERT_H_BROKEN_ASSERT_STDLIB */ diff --git a/gcc/fixinc/tests/base/bsd/libc.h b/gcc/fixinc/tests/base/bsd/libc.h deleted file mode 100644 index 939a5b1..0000000 --- a/gcc/fixinc/tests/base/bsd/libc.h +++ /dev/null @@ -1,14 +0,0 @@ -/* DO NOT EDIT THIS FILE. - - It has been auto-edited by fixincludes from: - - "fixinc/tests/inc/bsd/libc.h" - - This had to be done to correct non-standard usages in the - original, manufacturer supplied header file. */ - - - -#if defined( NEXT_TEMPLATE_CHECK ) -extern mumble( char *); /* fix */ -#endif /* NEXT_TEMPLATE_CHECK */ diff --git a/gcc/fixinc/tests/base/c_asm.h b/gcc/fixinc/tests/base/c_asm.h deleted file mode 100644 index f3e0daa..0000000 --- a/gcc/fixinc/tests/base/c_asm.h +++ /dev/null @@ -1,20 +0,0 @@ -/* DO NOT EDIT THIS FILE. - - It has been auto-edited by fixincludes from: - - "fixinc/tests/inc/c_asm.h" - - This had to be done to correct non-standard usages in the - original, manufacturer supplied header file. */ - - - -#if defined( DEC_INTERN_ASM_CHECK ) -#ifdef __DECC -float fasm { - ... asm stuff ... -}; -#pragma intrinsic( dasm ) -#endif -/* END ASM TEST*/ -#endif /* DEC_INTERN_ASM_CHECK */ diff --git a/gcc/fixinc/tests/base/ctrl-quotes-def-1.h b/gcc/fixinc/tests/base/ctrl-quotes-def-1.h deleted file mode 100644 index 16b18dc..0000000 --- a/gcc/fixinc/tests/base/ctrl-quotes-def-1.h +++ /dev/null @@ -1,14 +0,0 @@ -/* DO NOT EDIT THIS FILE. - - It has been auto-edited by fixincludes from: - - "fixinc/tests/inc/ctrl-quotes-def-1.h" - - This had to be done to correct non-standard usages in the - original, manufacturer supplied header file. */ - - - -#if defined( CTRL_QUOTES_DEF_CHECK_1 ) -#define _CTRL(c) (c&037) -#endif /* CTRL_QUOTES_DEF_CHECK_1 */ diff --git a/gcc/fixinc/tests/base/ctype.h b/gcc/fixinc/tests/base/ctype.h deleted file mode 100644 index deabd5e..0000000 --- a/gcc/fixinc/tests/base/ctype.h +++ /dev/null @@ -1,65 +0,0 @@ -/* DO NOT EDIT THIS FILE. - - It has been auto-edited by fixincludes from: - - "fixinc/tests/inc/ctype.h" - - This had to be done to correct non-standard usages in the - original, manufacturer supplied header file. */ - - - -#if defined( HPUX10_CTYPE_DECLARATIONS1_CHECK ) -#ifdef _PROTOTYPES -extern int __tolower(int); -extern int __toupper(int); -#else /* NOT _PROTOTYPES */ -extern int __tolower(); -extern int __toupper(); -#endif /* _PROTOTYPES */ - -# define _toupper(__c) __toupper(__c) - - -#endif /* HPUX10_CTYPE_DECLARATIONS1_CHECK */ - - -#if defined( HPUX10_CTYPE_DECLARATIONS2_CHECK ) -# if defined(_SB_CTYPE_MACROS) && !defined(__lint) - -#ifdef _PROTOTYPES - extern int _isalnum(int); - extern int _isalpha(int); - extern int _iscntrl(int); - extern int _isdigit(int); - extern int _isgraph(int); - extern int _islower(int); - extern int _isprint(int); - extern int _ispunct(int); - extern int _isspace(int); - extern int _isupper(int); - extern int _isxdigit(int); -# else /* not _PROTOTYPES */ - extern int _isalnum(); - extern int _isalpha(); - extern int _iscntrl(); - extern int _isdigit(); - extern int _isgraph(); - extern int _islower(); - extern int _isprint(); - extern int _ispunct(); - extern int _isspace(); - extern int _isupper(); - extern int _isxdigit(); -#endif /* _PROTOTYPES */ - - extern unsigned int *__SB_masks; - -#endif /* HPUX10_CTYPE_DECLARATIONS2_CHECK */ - - -#if defined( HPUX_CTYPE_MACROS_CHECK ) -: __SB_masks ? (int)__SB_masks[__alnum] & _ISCNTRL -# define isalpha(__c) (__SB_masks ? (int)__SB_masks[__c] & _IS - -#endif /* HPUX_CTYPE_MACROS_CHECK */ diff --git a/gcc/fixinc/tests/base/curses.h b/gcc/fixinc/tests/base/curses.h deleted file mode 100644 index ba2db24..0000000 --- a/gcc/fixinc/tests/base/curses.h +++ /dev/null @@ -1,42 +0,0 @@ -/* DO NOT EDIT THIS FILE. - - It has been auto-edited by fixincludes from: - - "fixinc/tests/inc/curses.h" - - This had to be done to correct non-standard usages in the - original, manufacturer supplied header file. */ - - - -#if defined( AVOID_BOOL_DEFINE_CHECK ) -#ifndef __cplusplus -# define bool char -#endif - -#endif /* AVOID_BOOL_DEFINE_CHECK */ - - -#if defined( AVOID_BOOL_TYPE_CHECK ) -#ifndef __cplusplus -typedef unsigned int bool ; -#endif /* bool - type */ -#endif /* AVOID_BOOL_TYPE_CHECK */ - - -#if defined( BAD_STRUCT_TERM_CHECK ) -struct term; -#endif /* BAD_STRUCT_TERM_CHECK */ - - -#if defined( LYNX_VOID_INT_CHECK ) -/* curses foiled again */ -#endif /* LYNX_VOID_INT_CHECK */ - - -#if defined( VOID_NULL_CHECK ) -#ifndef NULL -#define NULL 0 /* typed NULL */ -#endif -#endif /* VOID_NULL_CHECK */ diff --git a/gcc/fixinc/tests/base/fcntl.h b/gcc/fixinc/tests/base/fcntl.h deleted file mode 100644 index ad6c8c9..0000000 --- a/gcc/fixinc/tests/base/fcntl.h +++ /dev/null @@ -1,14 +0,0 @@ -/* DO NOT EDIT THIS FILE. - - It has been auto-edited by fixincludes from: - - "fixinc/tests/inc/fcntl.h" - - This had to be done to correct non-standard usages in the - original, manufacturer supplied header file. */ - - - -#if defined( LYNXOS_FCNTL_PROTO_CHECK ) -extern int fcntl(int, int, ...); -#endif /* LYNXOS_FCNTL_PROTO_CHECK */ diff --git a/gcc/fixinc/tests/base/fixinc-test-limits.h b/gcc/fixinc/tests/base/fixinc-test-limits.h deleted file mode 100644 index 0422d09..0000000 --- a/gcc/fixinc/tests/base/fixinc-test-limits.h +++ /dev/null @@ -1,19 +0,0 @@ -/* DO NOT EDIT THIS FILE. - - It has been auto-edited by fixincludes from: - - "fixinc/tests/inc/fixinc-test-limits.h" - - This had to be done to correct non-standard usages in the - original, manufacturer supplied header file. */ - - - -#if defined( HPUX10_CPP_POW_INLINE_CHECK ) - -#endif /* HPUX10_CPP_POW_INLINE_CHECK */ - - -#if defined( IRIX_LIMITS_CONST_CHECK ) -extern __const char limit; /* test limits */ -#endif /* IRIX_LIMITS_CONST_CHECK */ diff --git a/gcc/fixinc/tests/base/fs/rfs/rf_cache.h b/gcc/fixinc/tests/base/fs/rfs/rf_cache.h deleted file mode 100644 index 45fec63..0000000 --- a/gcc/fixinc/tests/base/fs/rfs/rf_cache.h +++ /dev/null @@ -1,21 +0,0 @@ -/* DO NOT EDIT THIS FILE. - - It has been auto-edited by fixincludes from: - - "fixinc/tests/inc/fs/rfs/rf_cache.h" - - This had to be done to correct non-standard usages in the - original, manufacturer supplied header file. */ - -#ifndef FIXINC_WRAP_FS_RFS_RF_CACHE_H_SVR4_KRNL -#define FIXINC_WRAP_FS_RFS_RF_CACHE_H_SVR4_KRNL 1 - -#ifdef _KERNEL - - -#if defined( SVR4_KRNL_CHECK ) - -#endif /* SVR4_KRNL_CHECK */ -#endif /* _KERNEL */ - -#endif /* FIXINC_WRAP_FS_RFS_RF_CACHE_H_SVR4_KRNL */ diff --git a/gcc/fixinc/tests/base/hsfs/hsfs_spec.h b/gcc/fixinc/tests/base/hsfs/hsfs_spec.h deleted file mode 100644 index 2c67852..0000000 --- a/gcc/fixinc/tests/base/hsfs/hsfs_spec.h +++ /dev/null @@ -1,14 +0,0 @@ -/* DO NOT EDIT THIS FILE. - - It has been auto-edited by fixincludes from: - - "fixinc/tests/inc/hsfs/hsfs_spec.h" - - This had to be done to correct non-standard usages in the - original, manufacturer supplied header file. */ - - - -#if defined( SUN_BOGUS_IFDEF_CHECK ) -#if __i386__ || __vax__ || __sun4c__ -#endif /* SUN_BOGUS_IFDEF_CHECK */ diff --git a/gcc/fixinc/tests/base/internal/math_core.h b/gcc/fixinc/tests/base/internal/math_core.h deleted file mode 100644 index f39ac3f..0000000 --- a/gcc/fixinc/tests/base/internal/math_core.h +++ /dev/null @@ -1,30 +0,0 @@ -/* DO NOT EDIT THIS FILE. - - It has been auto-edited by fixincludes from: - - "fixinc/tests/inc/internal/math_core.h" - - This had to be done to correct non-standard usages in the - original, manufacturer supplied header file. */ - - - -#if defined( IRIX___GENERIC1_CHECK ) -extern int isnan(double); -extern int isnanf(float); -extern int isnanl(long double); -#define isnan(x) (sizeof(x) == sizeof(double) ? _isnan(x) \ - : sizeof(x) == sizeof(float) ? _isnanf(x) \ - : _isnanl(x)) - - -#endif /* IRIX___GENERIC1_CHECK */ - - -#if defined( IRIX___GENERIC2_CHECK ) -#define isless(x,y) \ - ((sizeof(x)<=4 && sizeof(y)<=4) ? _islessf(x,y) \ - : (sizeof(x)<=8 && sizeof(y)<=8) ? _isless(x,y) \ - : _islessl(x,y)) - -#endif /* IRIX___GENERIC2_CHECK */ diff --git a/gcc/fixinc/tests/base/internal/sgimacros.h b/gcc/fixinc/tests/base/internal/sgimacros.h deleted file mode 100644 index a491e865..0000000 --- a/gcc/fixinc/tests/base/internal/sgimacros.h +++ /dev/null @@ -1,17 +0,0 @@ -/* DO NOT EDIT THIS FILE. - - It has been auto-edited by fixincludes from: - - "fixinc/tests/inc/internal/sgimacros.h" - - This had to be done to correct non-standard usages in the - original, manufacturer supplied header file. */ - - - -#if defined( IRIX___RESTRICT_CHECK ) -#ifdef __c99 -# ifndef __cplusplus -# define __restrict restrict -# endif -#endif /* IRIX___RESTRICT_CHECK */ diff --git a/gcc/fixinc/tests/base/internal/wchar_core.h b/gcc/fixinc/tests/base/internal/wchar_core.h deleted file mode 100644 index 5b358a3..0000000 --- a/gcc/fixinc/tests/base/internal/wchar_core.h +++ /dev/null @@ -1,15 +0,0 @@ -/* DO NOT EDIT THIS FILE. - - It has been auto-edited by fixincludes from: - - "fixinc/tests/inc/internal/wchar_core.h" - - This had to be done to correct non-standard usages in the - original, manufacturer supplied header file. */ - - - -#if defined( IRIX_WCSFTIME_CHECK ) -#if _NO_XOPEN5 && !defined(__c99) -extern size_t wcsftime(wchar_t *, __SGI_LIBC_NAMESPACE_QUALIFIER size_t, const char *, const struct tm *); -#endif /* IRIX_WCSFTIME_CHECK */ diff --git a/gcc/fixinc/tests/base/inttypes.h b/gcc/fixinc/tests/base/inttypes.h deleted file mode 100644 index 06d7ebd..0000000 --- a/gcc/fixinc/tests/base/inttypes.h +++ /dev/null @@ -1,15 +0,0 @@ -/* DO NOT EDIT THIS FILE. - - It has been auto-edited by fixincludes from: - - "fixinc/tests/inc/inttypes.h" - - This had to be done to correct non-standard usages in the - original, manufacturer supplied header file. */ - - - -#if defined( HPUX11_UINT32_C_CHECK ) -#define CONCAT_U__(__c) __CONCAT__(__c,u) -#define UINT32_C(__c) __CONCAT__(__c,ul) -#endif /* HPUX11_UINT32_C_CHECK */ diff --git a/gcc/fixinc/tests/base/io-quotes-def-1.h b/gcc/fixinc/tests/base/io-quotes-def-1.h deleted file mode 100644 index 383ff08..0000000 --- a/gcc/fixinc/tests/base/io-quotes-def-1.h +++ /dev/null @@ -1,14 +0,0 @@ -/* DO NOT EDIT THIS FILE. - - It has been auto-edited by fixincludes from: - - "fixinc/tests/inc/io-quotes-def-1.h" - - This had to be done to correct non-standard usages in the - original, manufacturer supplied header file. */ - - - -#if defined( IO_QUOTES_DEF_CHECK_1 ) -#define XX_IO(x) (x<<8|256) -#endif /* IO_QUOTES_DEF_CHECK_1 */ diff --git a/gcc/fixinc/tests/base/locale.h b/gcc/fixinc/tests/base/locale.h deleted file mode 100644 index 3b079e5..0000000 --- a/gcc/fixinc/tests/base/locale.h +++ /dev/null @@ -1,20 +0,0 @@ -/* DO NOT EDIT THIS FILE. - - It has been auto-edited by fixincludes from: - - "fixinc/tests/inc/locale.h" - - This had to be done to correct non-standard usages in the - original, manufacturer supplied header file. */ - -#ifndef FIXINC_WRAP_LOCALE_H_ULTRIX_LOCALE -#define FIXINC_WRAP_LOCALE_H_ULTRIX_LOCALE 1 - - - -#if defined( ULTRIX_LOCALE_CHECK ) -@(#)locale.h 6.1 (ULTRIX) - -#endif /* ULTRIX_LOCALE_CHECK */ - -#endif /* FIXINC_WRAP_LOCALE_H_ULTRIX_LOCALE */ diff --git a/gcc/fixinc/tests/base/mach-o/dyld.h b/gcc/fixinc/tests/base/mach-o/dyld.h deleted file mode 100644 index c062031..0000000 --- a/gcc/fixinc/tests/base/mach-o/dyld.h +++ /dev/null @@ -1,17 +0,0 @@ -/* DO NOT EDIT THIS FILE. - - It has been auto-edited by fixincludes from: - - "fixinc/tests/inc/mach-o/dyld.h" - - This had to be done to correct non-standard usages in the - original, manufacturer supplied header file. */ - - - -#if defined( DARWIN_PRIVATE_EXTERN_CHECK ) -extern int _dyld_func_lookup( -const char *dyld_func_name, -unsigned long *address); - -#endif /* DARWIN_PRIVATE_EXTERN_CHECK */ diff --git a/gcc/fixinc/tests/base/machine/cpu.h b/gcc/fixinc/tests/base/machine/cpu.h deleted file mode 100644 index 5662d29..0000000 --- a/gcc/fixinc/tests/base/machine/cpu.h +++ /dev/null @@ -1,16 +0,0 @@ -/* DO NOT EDIT THIS FILE. - - It has been auto-edited by fixincludes from: - - "fixinc/tests/inc/machine/cpu.h" - - This had to be done to correct non-standard usages in the - original, manufacturer supplied header file. */ - - - -#if defined( ULTRIX_STATIC_CHECK ) -struct tlb_pid_state { -#include <machine/r3_cpu.h> - -#endif /* ULTRIX_STATIC_CHECK */ diff --git a/gcc/fixinc/tests/base/malloc.h b/gcc/fixinc/tests/base/malloc.h deleted file mode 100644 index 3866af8..0000000 --- a/gcc/fixinc/tests/base/malloc.h +++ /dev/null @@ -1,18 +0,0 @@ -/* DO NOT EDIT THIS FILE. - - It has been auto-edited by fixincludes from: - - "fixinc/tests/inc/malloc.h" - - This had to be done to correct non-standard usages in the - original, manufacturer supplied header file. */ - - - -#if defined( SUN_MALLOC_CHECK ) -typedef void * malloc_t; -void free(); -void* malloc(); -void* calloc(); -void* realloc(); -#endif /* SUN_MALLOC_CHECK */ diff --git a/gcc/fixinc/tests/base/math.h b/gcc/fixinc/tests/base/math.h deleted file mode 100644 index 52fa3f3..0000000 --- a/gcc/fixinc/tests/base/math.h +++ /dev/null @@ -1,135 +0,0 @@ -/* DO NOT EDIT THIS FILE. - - It has been auto-edited by fixincludes from: - - "fixinc/tests/inc/math.h" - - This had to be done to correct non-standard usages in the - original, manufacturer supplied header file. */ - -#ifndef FIXINC_WRAP_MATH_H_MATH_EXCEPTION -#define FIXINC_WRAP_MATH_H_MATH_EXCEPTION 1 - -#ifdef __cplusplus -#define exception __math_exception -#endif -#ifndef FIXINC_WRAP_MATH_H_EXCEPTION_STRUCTURE -#define FIXINC_WRAP_MATH_H_EXCEPTION_STRUCTURE 1 - -struct exception; - - -#if defined( BROKEN_CABS_CHECK ) -#ifdef __STDC__ - -#else - -#endif - - /* This is a comment - and it ends here. */ -#endif /* BROKEN_CABS_CHECK */ - - -#if defined( EXCEPTION_STRUCTURE_CHECK ) -extern int matherr(); -#endif /* EXCEPTION_STRUCTURE_CHECK */ - - -#if defined( HPUX11_CPP_POW_INLINE_CHECK ) - -#endif /* HPUX11_CPP_POW_INLINE_CHECK */ - - -#if defined( HPUX11_FABSF_CHECK ) -#ifdef _PA_RISC -#ifndef __cplusplus -# define fabsf(x) ((float)fabs((double)(float)(x))) -#endif -#endif -#endif /* HPUX11_FABSF_CHECK */ - - -#if defined( HPUX8_BOGUS_INLINES_CHECK ) -extern "C" int abs(int); - -#endif /* HPUX8_BOGUS_INLINES_CHECK */ - - -#if defined( ISC_FMOD_CHECK ) -extern double fmod(double, double); -#endif /* ISC_FMOD_CHECK */ - - -#if defined( MATH_EXCEPTION_CHECK ) -typedef struct exception t_math_exception; -#endif /* MATH_EXCEPTION_CHECK */ - - -#if defined( MATH_HUGE_VAL_FROM_DBL_MAX_CHECK ) - -#ifndef HUGE_VAL -#define HUGE_VAL 3.1415e+9 /* really big */ -#endif -#endif /* MATH_HUGE_VAL_FROM_DBL_MAX_CHECK */ - - -#if defined( MATH_HUGE_VAL_IFNDEF_CHECK ) -#ifndef HUGE_VAL -# define HUGE_VAL 3.4e+40 -#endif -#endif /* MATH_HUGE_VAL_IFNDEF_CHECK */ - - -#if defined( RS6000_DOUBLE_CHECK ) -#ifndef __cplusplus -extern int class(); -#endif -#endif /* RS6000_DOUBLE_CHECK */ - - -#if defined( SCO_MATH_CHECK ) -#define __fp_class(a) \ - __builtin_generic(a,"ld:__fplcassifyl;f:__fpclassifyf;:__fpclassify") - -#endif /* SCO_MATH_CHECK */ - - -#if defined( STRICT_ANSI_NOT_CTD_CHECK ) -#if 1 && \ -&& defined(mumbling) |& ( !defined(__STRICT_ANSI__)) \ -( !defined(__STRICT_ANSI__) && !defined(_XOPEN_SOURCE) \ -|| !defined(__STRICT_ANSI__) ) /* not std C */ -int foo; -#endif -#endif /* STRICT_ANSI_NOT_CTD_CHECK */ - - -#if defined( SVR4__P_CHECK ) -#ifndef __P -#define __P(a) a -#endif -#endif /* SVR4__P_CHECK */ - - -#if defined( ULTRIX_ATOF_PARAM_CHECK ) -extern double atof(const char *__nptr); - -#endif /* ULTRIX_ATOF_PARAM_CHECK */ - - -#if defined( WINDISS_MATH1_CHECK ) -#ifndef __GNUC__ -#endif /* WINDISS_MATH1_CHECK */ - - -#if defined( WINDISS_MATH2_CHECK ) -#endif /* __GNUC__ */ -#endif /* WINDISS_MATH2_CHECK */ - -#endif /* FIXINC_WRAP_MATH_H_EXCEPTION_STRUCTURE */ -#ifdef __cplusplus -#undef exception -#endif - -#endif /* FIXINC_WRAP_MATH_H_MATH_EXCEPTION */ diff --git a/gcc/fixinc/tests/base/netdnet/dnetdb.h b/gcc/fixinc/tests/base/netdnet/dnetdb.h deleted file mode 100644 index e506c6e..0000000 --- a/gcc/fixinc/tests/base/netdnet/dnetdb.h +++ /dev/null @@ -1,14 +0,0 @@ -/* DO NOT EDIT THIS FILE. - - It has been auto-edited by fixincludes from: - - "fixinc/tests/inc/netdnet/dnetdb.h" - - This had to be done to correct non-standard usages in the - original, manufacturer supplied header file. */ - - - -#if defined( NODEENT_SYNTAX_CHECK ) -char *na_addr ; -#endif /* NODEENT_SYNTAX_CHECK */ diff --git a/gcc/fixinc/tests/base/netinet/ip.h b/gcc/fixinc/tests/base/netinet/ip.h deleted file mode 100644 index 7b29903..0000000 --- a/gcc/fixinc/tests/base/netinet/ip.h +++ /dev/null @@ -1,19 +0,0 @@ -/* DO NOT EDIT THIS FILE. - - It has been auto-edited by fixincludes from: - - "fixinc/tests/inc/netinet/ip.h" - - This had to be done to correct non-standard usages in the - original, manufacturer supplied header file. */ - - - -#if defined( IP_MISSING_SEMI_CHECK ) -struct mumble { - union { - int x; - }; -}; /* mumbled struct */ - -#endif /* IP_MISSING_SEMI_CHECK */ diff --git a/gcc/fixinc/tests/base/obstack.h b/gcc/fixinc/tests/base/obstack.h deleted file mode 100644 index ea8e8dd..0000000 --- a/gcc/fixinc/tests/base/obstack.h +++ /dev/null @@ -1,14 +0,0 @@ -/* DO NOT EDIT THIS FILE. - - It has been auto-edited by fixincludes from: - - "fixinc/tests/inc/obstack.h" - - This had to be done to correct non-standard usages in the - original, manufacturer supplied header file. */ - - - -#if defined( OBSTACK_LVALUE_CAST_CHECK ) -((*((void **) (h)->next_free) = (aptr)), ( (h)->next_free += sizeof (void *))) -#endif /* OBSTACK_LVALUE_CAST_CHECK */ diff --git a/gcc/fixinc/tests/base/pixrect/memvar.h b/gcc/fixinc/tests/base/pixrect/memvar.h deleted file mode 100644 index 19230cb..0000000 --- a/gcc/fixinc/tests/base/pixrect/memvar.h +++ /dev/null @@ -1,18 +0,0 @@ -/* DO NOT EDIT THIS FILE. - - It has been auto-edited by fixincludes from: - - "fixinc/tests/inc/pixrect/memvar.h" - - This had to be done to correct non-standard usages in the - original, manufacturer supplied header file. */ - - - -#if defined( SUN_CATMACRO_CHECK ) -#ifdef __STDC__ -# define CAT(a,b) a##b -#else -#define CAT(a,b) a/**/b -#endif -#endif /* SUN_CATMACRO_CHECK */ diff --git a/gcc/fixinc/tests/base/pthread.h b/gcc/fixinc/tests/base/pthread.h deleted file mode 100644 index 385c055..0000000 --- a/gcc/fixinc/tests/base/pthread.h +++ /dev/null @@ -1,79 +0,0 @@ -/* DO NOT EDIT THIS FILE. - - It has been auto-edited by fixincludes from: - - "fixinc/tests/inc/pthread.h" - - This had to be done to correct non-standard usages in the - original, manufacturer supplied header file. */ - - - -#if defined( AIX_PTHREAD_CHECK ) -#define PTHREAD_MUTEX_INITIALIZER \ -{...init stuff...} -#endif /* AIX_PTHREAD_CHECK */ - - -#if defined( ALPHA_PTHREAD_CHECK ) -# if defined (_PTHREAD_ENV_DECC) || defined (_PTHREAD_ENV_EPCC) || defined (__PRAGMA_EXTERN_PREFIX) -# define _PTHREAD_USE_PTDNAM_ -# endif -# if defined (_PTHREAD_ENV_DECC) || defined (__PRAGMA_EXTERN_PREFIX) -# define _PTHREAD_USE_PTDNAM_ -# endif -#endif /* ALPHA_PTHREAD_CHECK */ - - -#if defined( ALPHA_PTHREAD_GCC_CHECK ) -# define _PTHREAD_ENV_INTELC -#elif defined (__GNUC__) -# define _PTHREAD_ENV_GCC -#else -# error <pthread.h>: unrecognized compiler. -#endif -#endif /* ALPHA_PTHREAD_GCC_CHECK */ - - -#if defined( PTHREAD_PAGE_SIZE_CHECK ) -extern int __page_size; -#endif /* PTHREAD_PAGE_SIZE_CHECK */ - - -#if defined( SOLARIS_MUTEX_INIT_1_CHECK ) -#ident "@(#)pthread.h 1.16 97/05/05 SMI" -#if __STDC__ - 0 == 0 && !defined(_NO_LONGLONG) -#define PTHREAD_MUTEX_INITIALIZER {{{0}, 0}, {{{0}}}, 0} -#else -#define PTHREAD_MUTEX_INITIALIZER {{{0}, 0}, {{{0}}}, {0}} -#endif -#if __STDC__ - 0 == 0 && !defined(_NO_LONGLONG) -#define PTHREAD_COND_INITIALIZER {{{0},0}, 0} /* */ -#else -#define PTHREAD_COND_INITIALIZER {{{0},0}, {0}} /* */ -#endif - -#endif /* SOLARIS_MUTEX_INIT_1_CHECK */ - - -#if defined( SOLARIS_MUTEX_INIT_2_CHECK ) -#ident "@(#)pthread.h 1.26 98/04/12 SMI" -#if __STDC__ - 0 == 0 && !defined(_NO_LONGLONG) -#define PTHREAD_MUTEX_INITIALIZER {{{0},0}, {{{0}}}, 0} -#else -#define PTHREAD_MUTEX_INITIALIZER {{{0},0}, {{{0}}}, {0}} -#endif -#if __STDC__ - 0 == 0 && !defined(_NO_LONGLONG) -#define PTHREAD_COND_INITIALIZER {{{0}, 0}, 0} /* DEFAULTCV */ -#else -#define PTHREAD_COND_INITIALIZER {{{0}, 0}, {0}} /* DEFAULTCV */ -#endif -#define PTHREAD_RWLOCK_INITIALIZER {0, 0, 0, {0, 0, 0}, {0, 0}, {0, 0}} -#endif /* SOLARIS_MUTEX_INIT_2_CHECK */ - - -#if defined( THREAD_KEYWORD_CHECK ) -extern int pthread_create (pthread_t *__restrict __thr, -extern int pthread_kill (pthread_t __thr, int __signo); -extern int pthread_cancel (pthread_t __thr); -#endif /* THREAD_KEYWORD_CHECK */ diff --git a/gcc/fixinc/tests/base/reg_types.h b/gcc/fixinc/tests/base/reg_types.h deleted file mode 100644 index 950dabb..0000000 --- a/gcc/fixinc/tests/base/reg_types.h +++ /dev/null @@ -1,20 +0,0 @@ -/* DO NOT EDIT THIS FILE. - - It has been auto-edited by fixincludes from: - - "fixinc/tests/inc/reg_types.h" - - This had to be done to correct non-standard usages in the - original, manufacturer supplied header file. */ - - - -#if defined( OSF_NAMESPACE_A_CHECK ) -typedef struct { - int stuff, mo_suff; -} __regex_t; -extern __regex_t re; -extern __regoff_t ro; -extern __regmatch_t rm; - -#endif /* OSF_NAMESPACE_A_CHECK */ diff --git a/gcc/fixinc/tests/base/regex.h b/gcc/fixinc/tests/base/regex.h deleted file mode 100644 index 304b790..0000000 --- a/gcc/fixinc/tests/base/regex.h +++ /dev/null @@ -1,17 +0,0 @@ -/* DO NOT EDIT THIS FILE. - - It has been auto-edited by fixincludes from: - - "fixinc/tests/inc/regex.h" - - This had to be done to correct non-standard usages in the - original, manufacturer supplied header file. */ - - - -#if defined( OSF_NAMESPACE_C_CHECK ) -#include <reg_types.h> -typedef __regex_t regex_t; -typedef __regoff_t regoff_t; -typedef __regmatch_t regmatch_t; -#endif /* OSF_NAMESPACE_C_CHECK */ diff --git a/gcc/fixinc/tests/base/regexp.h b/gcc/fixinc/tests/base/regexp.h deleted file mode 100644 index 35ec049..0000000 --- a/gcc/fixinc/tests/base/regexp.h +++ /dev/null @@ -1,18 +0,0 @@ -/* DO NOT EDIT THIS FILE. - - It has been auto-edited by fixincludes from: - - "fixinc/tests/inc/regexp.h" - - This had to be done to correct non-standard usages in the - original, manufacturer supplied header file. */ - - - -#if defined( SVR4_UNDECLARED_GETRNGE_CHECK ) -static int size; -static int getrnge (); -/* stuff which calls getrnge() */ -static getrnge() -{} -#endif /* SVR4_UNDECLARED_GETRNGE_CHECK */ diff --git a/gcc/fixinc/tests/base/rpc/auth.h b/gcc/fixinc/tests/base/rpc/auth.h deleted file mode 100644 index 42ba847..0000000 --- a/gcc/fixinc/tests/base/rpc/auth.h +++ /dev/null @@ -1,26 +0,0 @@ -/* DO NOT EDIT THIS FILE. - - It has been auto-edited by fixincludes from: - - "fixinc/tests/inc/rpc/auth.h" - - This had to be done to correct non-standard usages in the - original, manufacturer supplied header file. */ - - - -#if defined( STRUCT_SOCKADDR_CHECK ) -struct sockaddr; -extern AUTH* authdes_create( struct sockaddr* ); -#endif /* STRUCT_SOCKADDR_CHECK */ - - -#if defined( SUN_AUTH_PROTO_CHECK ) -struct auth_t { -#ifdef __cplusplus - int (*name)(...); /* C++ bad */ -#else - int (*name)(); /* C++ bad */ -#endif -}; -#endif /* SUN_AUTH_PROTO_CHECK */ diff --git a/gcc/fixinc/tests/base/rpc/rpc.h b/gcc/fixinc/tests/base/rpc/rpc.h deleted file mode 100644 index 2e78478..0000000 --- a/gcc/fixinc/tests/base/rpc/rpc.h +++ /dev/null @@ -1,14 +0,0 @@ -/* DO NOT EDIT THIS FILE. - - It has been auto-edited by fixincludes from: - - "fixinc/tests/inc/rpc/rpc.h" - - This had to be done to correct non-standard usages in the - original, manufacturer supplied header file. */ - - - -#if defined( NESTED_AUTH_DES_CHECK ) -/*#include <rpc/auth_des.h> */ /* skip this */ -#endif /* NESTED_AUTH_DES_CHECK */ diff --git a/gcc/fixinc/tests/base/rpc/svc.h b/gcc/fixinc/tests/base/rpc/svc.h deleted file mode 100644 index 4e1245f..0000000 --- a/gcc/fixinc/tests/base/rpc/svc.h +++ /dev/null @@ -1,15 +0,0 @@ -/* DO NOT EDIT THIS FILE. - - It has been auto-edited by fixincludes from: - - "fixinc/tests/inc/rpc/svc.h" - - This had to be done to correct non-standard usages in the - original, manufacturer supplied header file. */ - - - -#if defined( ULTRIX_NESTED_SVC_CHECK ) - * int protocol; */ /* like TCP or UDP - -#endif /* ULTRIX_NESTED_SVC_CHECK */ diff --git a/gcc/fixinc/tests/base/rpc/xdr.h b/gcc/fixinc/tests/base/rpc/xdr.h deleted file mode 100644 index 7b9f9ba..0000000 --- a/gcc/fixinc/tests/base/rpc/xdr.h +++ /dev/null @@ -1,25 +0,0 @@ -/* DO NOT EDIT THIS FILE. - - It has been auto-edited by fixincludes from: - - "fixinc/tests/inc/rpc/xdr.h" - - This had to be done to correct non-standard usages in the - original, manufacturer supplied header file. */ - - - -#if defined( RPC_XDR_LVALUE_CAST_A_CHECK ) -#define IXDR_GET_LONG(buf) ((long)IXDR_GET_U_INT32(buf)) -#endif /* RPC_XDR_LVALUE_CAST_A_CHECK */ - - -#if defined( RPC_XDR_LVALUE_CAST_B_CHECK ) -#define IXDR_PUT_LONG(buf, v) ((long)IXDR_PUT_INT32(buf, (long)(v))) -#endif /* RPC_XDR_LVALUE_CAST_B_CHECK */ - - -#if defined( STRUCT_FILE_CHECK ) -struct __file_s; -extern void xdrstdio_create( struct __file_s* ); -#endif /* STRUCT_FILE_CHECK */ diff --git a/gcc/fixinc/tests/base/rpcsvc/rstat.h b/gcc/fixinc/tests/base/rpcsvc/rstat.h deleted file mode 100644 index 05dc65b..0000000 --- a/gcc/fixinc/tests/base/rpcsvc/rstat.h +++ /dev/null @@ -1,16 +0,0 @@ -/* DO NOT EDIT THIS FILE. - - It has been auto-edited by fixincludes from: - - "fixinc/tests/inc/rpcsvc/rstat.h" - - This had to be done to correct non-standard usages in the - original, manufacturer supplied header file. */ - - - -#if defined( STATSSWTCH_CHECK ) -struct statswtch { - int boottime; -}; -#endif /* STATSSWTCH_CHECK */ diff --git a/gcc/fixinc/tests/base/rpcsvc/rusers.h b/gcc/fixinc/tests/base/rpcsvc/rusers.h deleted file mode 100644 index 727c409..0000000 --- a/gcc/fixinc/tests/base/rpcsvc/rusers.h +++ /dev/null @@ -1,16 +0,0 @@ -/* DO NOT EDIT THIS FILE. - - It has been auto-edited by fixincludes from: - - "fixinc/tests/inc/rpcsvc/rusers.h" - - This had to be done to correct non-standard usages in the - original, manufacturer supplied header file. */ - - - -#if defined( SUN_RUSERS_SEMI_CHECK ) -struct mumble - int _cnt; -}; -#endif /* SUN_RUSERS_SEMI_CHECK */ diff --git a/gcc/fixinc/tests/base/sparc/asm_linkage.h b/gcc/fixinc/tests/base/sparc/asm_linkage.h deleted file mode 100644 index 5690f77..0000000 --- a/gcc/fixinc/tests/base/sparc/asm_linkage.h +++ /dev/null @@ -1,14 +0,0 @@ -/* DO NOT EDIT THIS FILE. - - It has been auto-edited by fixincludes from: - - "fixinc/tests/inc/sparc/asm_linkage.h" - - This had to be done to correct non-standard usages in the - original, manufacturer supplied header file. */ - - - -#if defined( KANDR_CONCAT_CHECK ) -#define __CONCAT__(a,b) a##b -#endif /* KANDR_CONCAT_CHECK */ diff --git a/gcc/fixinc/tests/base/standards.h b/gcc/fixinc/tests/base/standards.h deleted file mode 100644 index fccf806..0000000 --- a/gcc/fixinc/tests/base/standards.h +++ /dev/null @@ -1,14 +0,0 @@ -/* DO NOT EDIT THIS FILE. - - It has been auto-edited by fixincludes from: - - "fixinc/tests/inc/standards.h" - - This had to be done to correct non-standard usages in the - original, manufacturer supplied header file. */ - - - -#if defined( ALPHA___EXTERN_PREFIX_STANDARDS_CHECK ) -#if (_ISO_C_SOURCE>=19990L) && !defined(_LIBC_POLLUTION_H_) && !defined(__DECC) && !defined(__PRAGMA_EXTERN_PREFIX) -#endif /* ALPHA___EXTERN_PREFIX_STANDARDS_CHECK */ diff --git a/gcc/fixinc/tests/base/stdio.h b/gcc/fixinc/tests/base/stdio.h deleted file mode 100644 index ea2c001..0000000 --- a/gcc/fixinc/tests/base/stdio.h +++ /dev/null @@ -1,109 +0,0 @@ -/* 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_WRAP_STDIO_H_STDIO_STDARG_H -#define FIXINC_WRAP_STDIO_H_STDIO_STDARG_H 1 - -#define __need___va_list -#include <stdarg.h> - - -#if defined( ALPHA_GETOPT_CHECK ) -extern int getopt(int, char *const[], const char *); -#endif /* ALPHA_GETOPT_CHECK */ - - -#if defined( BSD_STDIO_ATTRS_CONFLICT_CHECK ) -#define _BSD_STRING(_BSD_X) _BSD_STRINGX(_BSD_X) -#define _BSD_STRINGX(_BSD_X) #_BSD_X -int vfscanf(FILE *, const char *, __builtin_va_list) __asm__ (_BSD_STRING(__USER_LABEL_PREFIX__) "__svfscanf"); -#endif /* BSD_STDIO_ATTRS_CONFLICT_CHECK */ - - -#if defined( HPUX10_STDIO_DECLARATIONS_CHECK ) -# define _iob __iob - -#endif /* HPUX10_STDIO_DECLARATIONS_CHECK */ - - -#if defined( HPUX11_SNPRINTF_CHECK ) -extern int snprintf(char *, size_t, const char *, ...); -extern int snprintf(char *, _hpux_size_t, const char *, ...); -extern int snprintf(char *, _hpux_size_t, const char *, ...); -#endif /* HPUX11_SNPRINTF_CHECK */ - - -#if defined( HPUX11_VSNPRINTF_CHECK ) -extern int vsnprintf(char *, _hpux_size_t, const char *, __gnuc_va_list); -#endif /* HPUX11_VSNPRINTF_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( ISC_OMITS_WITH_STDC_CHECK ) -#if !defined(_POSIX_SOURCE) /* ? ! */ -int foo; -#endif -#endif /* ISC_OMITS_WITH_STDC_CHECK */ - - -#if defined( READ_RET_TYPE_CHECK ) -extern unsigned int fread(), fwrite(); -extern int fclose(), fflush(), foo(); -#endif /* READ_RET_TYPE_CHECK */ - - -#if defined( RS6000_PARAM_CHECK ) -extern int rename(const char *_old, const char *_new); -#endif /* RS6000_PARAM_CHECK */ - - -#if defined( STDIO_STDARG_H_CHECK ) - -#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 */ - - -#if defined( ULTRIX_CONST3_CHECK ) -extern FILE * fdopen( int __filedes, const char *__type ); - -#endif /* ULTRIX_CONST3_CHECK */ - - -#if defined( UNICOSMK_RESTRICT_CHECK ) -void f (char * __restrict__ x); -#endif /* UNICOSMK_RESTRICT_CHECK */ - -#endif /* FIXINC_WRAP_STDIO_H_STDIO_STDARG_H */ diff --git a/gcc/fixinc/tests/base/stdio_tag.h b/gcc/fixinc/tests/base/stdio_tag.h deleted file mode 100644 index 788de24..0000000 --- a/gcc/fixinc/tests/base/stdio_tag.h +++ /dev/null @@ -1,14 +0,0 @@ -/* DO NOT EDIT THIS FILE. - - It has been auto-edited by fixincludes from: - - "fixinc/tests/inc/stdio_tag.h" - - This had to be done to correct non-standard usages in the - original, manufacturer supplied header file. */ - - - -#if defined( SOLARIS_STDIO_TAG_CHECK ) -#if 0 -#endif /* SOLARIS_STDIO_TAG_CHECK */ diff --git a/gcc/fixinc/tests/base/stdlib.h b/gcc/fixinc/tests/base/stdlib.h deleted file mode 100644 index 0e1e59c..0000000 --- a/gcc/fixinc/tests/base/stdlib.h +++ /dev/null @@ -1,66 +0,0 @@ -/* DO NOT EDIT THIS FILE. - - It has been auto-edited by fixincludes from: - - "fixinc/tests/inc/stdlib.h" - - This had to be done to correct non-standard usages in the - original, manufacturer supplied header file. */ - - - -#if defined( HPUX11_ABS_CHECK ) -#if !defined(_MATH_INCLUDED) || defined(__GNUG__) -#endif /* HPUX11_ABS_CHECK */ - - -#if defined( HPUX_LONG_DOUBLE_CHECK ) -extern long double strtold(const char *, char **); - -#endif /* HPUX_LONG_DOUBLE_CHECK */ - - -#if defined( INT_ABORT_FREE_AND_EXIT_CHECK ) -extern void abort(int); -extern void free(void*); -extern void exit(void*); -#endif /* INT_ABORT_FREE_AND_EXIT_CHECK */ - - -#if defined( SVR4_GETCWD_CHECK ) -extern char* getcwd(char *, size_t); -#endif /* SVR4_GETCWD_CHECK */ - - -#if defined( SVR4_PROFIL_CHECK ) -profil(unsigned short *, size_t, int, unsigned int); -#endif /* SVR4_PROFIL_CHECK */ - - -#if defined( SYSZ_STDLIB_FOR_SUN_CHECK ) -extern void * calloc(size_t); -extern void * malloc(size_t); -extern void * realloc(void*,size_t); -extern void * bsearch(void*,size_t,size_t); - -#endif /* SYSZ_STDLIB_FOR_SUN_CHECK */ - - -#if defined( ULTRIX_ATEXIT_PARAM_CHECK ) -int atexit( void (*__func)( void ) ); - -#endif /* ULTRIX_ATEXIT_PARAM_CHECK */ - - -#if defined( ULTRIX_STDLIB_CHECK ) -@(#)stdlib.h 6.1 (ULTRIX) -char * getenv( const char *__name ); -int setenv( const char *__name, const char *__val, int __ovrwrt ); -void unsetenv( const char *__name ); -int putenv( char *__s ); -char *getenv(); -int setenv(); -void unsetenv(); -int putenv(); - -#endif /* ULTRIX_STDLIB_CHECK */ diff --git a/gcc/fixinc/tests/base/string.h b/gcc/fixinc/tests/base/string.h deleted file mode 100644 index d70f9e0..0000000 --- a/gcc/fixinc/tests/base/string.h +++ /dev/null @@ -1,13 +0,0 @@ -/* DO NOT EDIT THIS FILE. - - It has been auto-edited by fixincludes from: - - "fixinc/tests/inc/string.h" - - This had to be done to correct non-standard usages in the - original, manufacturer supplied header file. */ - -#ifndef _STRING_INCLUDED - #define _STRING_INCLUDED - #include <strings.h> -#endif /* _STRING_INCLUDED */
\ No newline at end of file diff --git a/gcc/fixinc/tests/base/strings.h b/gcc/fixinc/tests/base/strings.h deleted file mode 100644 index f17d3f8..0000000 --- a/gcc/fixinc/tests/base/strings.h +++ /dev/null @@ -1,40 +0,0 @@ -/* DO NOT EDIT THIS FILE. - - It has been auto-edited by fixincludes from: - - "fixinc/tests/inc/strings.h" - - This had to be done to correct non-standard usages in the - original, manufacturer supplied header file. */ - -#ifndef FIXINC_WRAP_STRINGS_H_ULTRIX_STRINGS -#define FIXINC_WRAP_STRINGS_H_ULTRIX_STRINGS 1 - - - -#if defined( SUNOS_STRLEN_CHECK ) - __SIZE_TYPE__ strlen(); /* string length */ -#endif /* SUNOS_STRLEN_CHECK */ - - -#if defined( ULTRIX_STRINGS_CHECK ) -@(#)strings.h 6.1 (ULTRIX) - -#endif /* ULTRIX_STRINGS_CHECK */ - - -#if defined( ULTRIX_STRINGS2_CHECK ) -@(#)strings.h 6.1 (ULTRIX) - strncmp( const char *__s1, const char *__s2, size_t __n ); - -extern int - strcasecmp( const char *__s1, const char *__s2), - strncasecmp( const char *__s1, const char *__s2, size_t __n ); - strncmp(); -extern int - strcasecmp(), - strncasecmp(); - -#endif /* ULTRIX_STRINGS2_CHECK */ - -#endif /* FIXINC_WRAP_STRINGS_H_ULTRIX_STRINGS */ diff --git a/gcc/fixinc/tests/base/sundev/vuid_event.h b/gcc/fixinc/tests/base/sundev/vuid_event.h deleted file mode 100644 index 0f35cb8..0000000 --- a/gcc/fixinc/tests/base/sundev/vuid_event.h +++ /dev/null @@ -1,14 +0,0 @@ -/* DO NOT EDIT THIS FILE. - - It has been auto-edited by fixincludes from: - - "fixinc/tests/inc/sundev/vuid_event.h" - - This had to be done to correct non-standard usages in the - original, manufacturer supplied header file. */ - - - -#if defined( BADQUOTE_CHECK ) -/* does not have matched single quotes */ -#endif /* BADQUOTE_CHECK */ diff --git a/gcc/fixinc/tests/base/sunwindow/win_lock.h b/gcc/fixinc/tests/base/sunwindow/win_lock.h deleted file mode 100644 index 8cd0b19..0000000 --- a/gcc/fixinc/tests/base/sunwindow/win_lock.h +++ /dev/null @@ -1,16 +0,0 @@ -/* DO NOT EDIT THIS FILE. - - It has been auto-edited by fixincludes from: - - "fixinc/tests/inc/sunwindow/win_lock.h" - - This had to be done to correct non-standard usages in the - original, manufacturer supplied header file. */ - - - -#if defined( ECD_CURSOR_CHECK ) -#ifdef ecd_cursor -#error bogus -#endif /* ecd+cursor */ -#endif /* ECD_CURSOR_CHECK */ diff --git a/gcc/fixinc/tests/base/sym.h b/gcc/fixinc/tests/base/sym.h deleted file mode 100644 index 0c811a3..0000000 --- a/gcc/fixinc/tests/base/sym.h +++ /dev/null @@ -1,16 +0,0 @@ -/* DO NOT EDIT THIS FILE. - - It has been auto-edited by fixincludes from: - - "fixinc/tests/inc/sym.h" - - This had to be done to correct non-standard usages in the - original, manufacturer supplied header file. */ - - - -#if defined( ALPHA_PARENS_CHECK ) -#ifndef __mips64 /* bogus */ -extern int foo; -#endif -#endif /* ALPHA_PARENS_CHECK */ diff --git a/gcc/fixinc/tests/base/sys/asm.h b/gcc/fixinc/tests/base/sys/asm.h deleted file mode 100644 index 658830a..0000000 --- a/gcc/fixinc/tests/base/sys/asm.h +++ /dev/null @@ -1,14 +0,0 @@ -/* DO NOT EDIT THIS FILE. - - It has been auto-edited by fixincludes from: - - "fixinc/tests/inc/sys/asm.h" - - This had to be done to correct non-standard usages in the - original, manufacturer supplied header file. */ - - - -#if defined( IRIX_ASM_APOSTROPHE_CHECK ) - # and we are on vacation -#endif /* IRIX_ASM_APOSTROPHE_CHECK */ diff --git a/gcc/fixinc/tests/base/sys/cdefs.h b/gcc/fixinc/tests/base/sys/cdefs.h deleted file mode 100644 index 8d95282..0000000 --- a/gcc/fixinc/tests/base/sys/cdefs.h +++ /dev/null @@ -1,19 +0,0 @@ -/* DO NOT EDIT THIS FILE. - - It has been auto-edited by fixincludes from: - - "fixinc/tests/inc/sys/cdefs.h" - - This had to be done to correct non-standard usages in the - original, manufacturer supplied header file. */ - - - -#if defined( FREEBSD_GCC3_BREAKAGE_CHECK ) -#if __GNUC__ == 2 && __GNUC_MINOR__ >= 7 || __GNUC__ >= 3 -#endif /* FREEBSD_GCC3_BREAKAGE_CHECK */ - - -#if defined( NETBSD_EXTRA_SEMICOLON_CHECK ) -#define __END_DECLS } -#endif /* NETBSD_EXTRA_SEMICOLON_CHECK */ diff --git a/gcc/fixinc/tests/base/sys/file.h b/gcc/fixinc/tests/base/sys/file.h deleted file mode 100644 index c5016a4..0000000 --- a/gcc/fixinc/tests/base/sys/file.h +++ /dev/null @@ -1,21 +0,0 @@ -/* DO NOT EDIT THIS FILE. - - It has been auto-edited by fixincludes from: - - "fixinc/tests/inc/sys/file.h" - - This had to be done to correct non-standard usages in the - original, manufacturer supplied header file. */ - - - -#if defined( HP_SYSFILE_CHECK ) -extern void foo(struct file *, ...); /* HPUX_SOURCE - bad varargs */ -#endif /* HP_SYSFILE_CHECK */ - - -#if defined( ULTRIX_IFDEF_CHECK ) -#if defined(KERNEL) && defined( mumbojumbo ) -int oops; -#endif -#endif /* ULTRIX_IFDEF_CHECK */ diff --git a/gcc/fixinc/tests/base/sys/ioctl.h b/gcc/fixinc/tests/base/sys/ioctl.h deleted file mode 100644 index 8e260a5..0000000 --- a/gcc/fixinc/tests/base/sys/ioctl.h +++ /dev/null @@ -1,15 +0,0 @@ -/* DO NOT EDIT THIS FILE. - - It has been auto-edited by fixincludes from: - - "fixinc/tests/inc/sys/ioctl.h" - - This had to be done to correct non-standard usages in the - original, manufacturer supplied header file. */ - - - -#if defined( ULTRIX_NESTED_IOCTL_CHECK ) -/* #define SIOCSCREENON _IOWR('i', 49, int)*//* screend, net/gw_screen.h */ - -#endif /* ULTRIX_NESTED_IOCTL_CHECK */ diff --git a/gcc/fixinc/tests/base/sys/limits.h b/gcc/fixinc/tests/base/sys/limits.h deleted file mode 100644 index cd8ba2a..0000000 --- a/gcc/fixinc/tests/base/sys/limits.h +++ /dev/null @@ -1,36 +0,0 @@ -/* DO NOT EDIT THIS FILE. - - It has been auto-edited by fixincludes from: - - "fixinc/tests/inc/sys/limits.h" - - This had to be done to correct non-standard usages in the - original, manufacturer supplied header file. */ - - - -#if defined( LIMITS_IFNDEFS_CHECK ) -#ifndef DBL_DIG - # define DBL_DIG 0 /* somthin' */ -#endif -#endif /* LIMITS_IFNDEFS_CHECK */ - - -#if defined( NESTED_MOTOROLA_CHECK ) -#undef PIPE_BUF /* max # bytes atomic in write to a */ - /* PIPE */ -/*#define HUGE_VAL 3.9e+9 */ /*error value returned by Math lib*/ -#endif /* NESTED_MOTOROLA_CHECK */ - - -#if defined( NESTED_SYS_LIMITS_CHECK ) -/* -#define CHILD_MAX 20 Max, Max, ... */ /* -#define OPEN_MAX 20 Max, Max, ... */ - -#endif /* NESTED_SYS_LIMITS_CHECK */ - - -#if defined( ULTRIX_MATH_IFDEF_CHECK ) -#if defined(__GFLOAT) -#endif /* ULTRIX_MATH_IFDEF_CHECK */ diff --git a/gcc/fixinc/tests/base/sys/machine.h b/gcc/fixinc/tests/base/sys/machine.h deleted file mode 100644 index a037413..0000000 --- a/gcc/fixinc/tests/base/sys/machine.h +++ /dev/null @@ -1,16 +0,0 @@ -/* DO NOT EDIT THIS FILE. - - It has been auto-edited by fixincludes from: - - "fixinc/tests/inc/sys/machine.h" - - This had to be done to correct non-standard usages in the - original, manufacturer supplied header file. */ - - - -#if defined( AIX_SYSMACHINE_CHECK ) -#define FOO bar \ - baz \ - bat -#endif /* AIX_SYSMACHINE_CHECK */ diff --git a/gcc/fixinc/tests/base/sys/mman.h b/gcc/fixinc/tests/base/sys/mman.h deleted file mode 100644 index 8fa2fb1..0000000 --- a/gcc/fixinc/tests/base/sys/mman.h +++ /dev/null @@ -1,25 +0,0 @@ -/* DO NOT EDIT THIS FILE. - - It has been auto-edited by fixincludes from: - - "fixinc/tests/inc/sys/mman.h" - - This had to be done to correct non-standard usages in the - original, manufacturer supplied header file. */ - -#ifndef FIXINC_WRAP_SYS_MMAN_H_CXX_UNREADY -#define FIXINC_WRAP_SYS_MMAN_H_CXX_UNREADY 1 - -#ifdef __cplusplus -extern "C" { -#endif - - -#if defined( CXX_UNREADY_CHECK ) -extern void* malloc( size_t ); -#endif /* CXX_UNREADY_CHECK */ -#ifdef __cplusplus -} -#endif - -#endif /* FIXINC_WRAP_SYS_MMAN_H_CXX_UNREADY */ diff --git a/gcc/fixinc/tests/base/sys/param.h b/gcc/fixinc/tests/base/sys/param.h deleted file mode 100644 index 4126924..0000000 --- a/gcc/fixinc/tests/base/sys/param.h +++ /dev/null @@ -1,16 +0,0 @@ -/* DO NOT EDIT THIS FILE. - - It has been auto-edited by fixincludes from: - - "fixinc/tests/inc/sys/param.h" - - This had to be done to correct non-standard usages in the - original, manufacturer supplied header file. */ - - - -#if defined( HPUX_MAXINT_CHECK ) -#ifndef MAXINT -#define MAXINT 0x7FFFFFFF -#endif -#endif /* HPUX_MAXINT_CHECK */ diff --git a/gcc/fixinc/tests/base/sys/regset.h b/gcc/fixinc/tests/base/sys/regset.h deleted file mode 100644 index 6723427..0000000 --- a/gcc/fixinc/tests/base/sys/regset.h +++ /dev/null @@ -1,26 +0,0 @@ -/* DO NOT EDIT THIS FILE. - - It has been auto-edited by fixincludes from: - - "fixinc/tests/inc/sys/regset.h" - - This had to be done to correct non-standard usages in the - original, manufacturer supplied header file. */ - - - -#if defined( SCO_REGSET_CHECK ) -union u_fps { - struct rsfpstate - { - int whatever; - } -}; -union _u_fps { - struct _rsfpstate - { - int whatever; - } -}; - -#endif /* SCO_REGSET_CHECK */ diff --git a/gcc/fixinc/tests/base/sys/signal.h b/gcc/fixinc/tests/base/sys/signal.h deleted file mode 100644 index 7a9ecb1..0000000 --- a/gcc/fixinc/tests/base/sys/signal.h +++ /dev/null @@ -1,30 +0,0 @@ -/* DO NOT EDIT THIS FILE. - - It has been auto-edited by fixincludes from: - - "fixinc/tests/inc/sys/signal.h" - - This had to be done to correct non-standard usages in the - original, manufacturer supplied header file. */ - - - -#if defined( AIX_VOLATILE_CHECK ) -typedef int sig_atomic_t; -#endif /* AIX_VOLATILE_CHECK */ - - -#if defined( SUN_SIGNAL_CHECK ) -#ifdef __cplusplus -void (*signal(...))(...); -#else -void (*signal())(); -#endif -#endif /* SUN_SIGNAL_CHECK */ - - -#if defined( SVR4_SIGHANDLER_TYPE_CHECK ) -#define SIG_DFL (void (*)(int))0 -#define SIG_IGN (void (*)(int))0 - -#endif /* SVR4_SIGHANDLER_TYPE_CHECK */ diff --git a/gcc/fixinc/tests/base/sys/socket.h b/gcc/fixinc/tests/base/sys/socket.h deleted file mode 100644 index 0898ed0..0000000 --- a/gcc/fixinc/tests/base/sys/socket.h +++ /dev/null @@ -1,26 +0,0 @@ -/* DO NOT EDIT THIS FILE. - - It has been auto-edited by fixincludes from: - - "fixinc/tests/inc/sys/socket.h" - - This had to be done to correct non-standard usages in the - original, manufacturer supplied header file. */ - - - -#if defined( IRIX_SOCKLEN_T_CHECK ) -#define _SOCKLEN_T -#if _NO_XOPEN4 && _NO_XOPEN5 -typedef int socklen_t; -#else -typedef u_int32_t socklen_t; -#endif /* _NO_XOPEN4 && _NO_XOPEN5 */ -#endif /* IRIX_SOCKLEN_T_CHECK */ - - -#if defined( SOLARIS_SOCKET_CHECK ) -#ident "@(#)socket.h 1.30 97/01/20 SMI" -extern int recv(int, void *, int, int); -extern int send(int, const void *, int, int); -#endif /* SOLARIS_SOCKET_CHECK */ diff --git a/gcc/fixinc/tests/base/sys/spinlock.h b/gcc/fixinc/tests/base/sys/spinlock.h deleted file mode 100644 index a25f650..0000000 --- a/gcc/fixinc/tests/base/sys/spinlock.h +++ /dev/null @@ -1,14 +0,0 @@ -/* DO NOT EDIT THIS FILE. - - It has been auto-edited by fixincludes from: - - "fixinc/tests/inc/sys/spinlock.h" - - This had to be done to correct non-standard usages in the - original, manufacturer supplied header file. */ - - - -#if defined( HP_INLINE_CHECK ) - # include <machine/mumble.h> -#endif /* HP_INLINE_CHECK */ diff --git a/gcc/fixinc/tests/base/sys/stat.h b/gcc/fixinc/tests/base/sys/stat.h deleted file mode 100644 index c2b2fb6..0000000 --- a/gcc/fixinc/tests/base/sys/stat.h +++ /dev/null @@ -1,68 +0,0 @@ -/* DO NOT EDIT THIS FILE. - - It has been auto-edited by fixincludes from: - - "fixinc/tests/inc/sys/stat.h" - - This had to be done to correct non-standard usages in the - original, manufacturer supplied header file. */ - - - -#if defined( ALPHA___EXTERN_PREFIX_SYS_STAT_CHECK ) -# if defined(__DECC) || defined(__PRAGMA_EXTERN_PREFIX) -#endif /* ALPHA___EXTERN_PREFIX_SYS_STAT_CHECK */ - - -#if defined( RS6000_FCHMOD_CHECK ) -extern int fchmod(int, mode_t); -#endif /* RS6000_FCHMOD_CHECK */ - - -#if defined( SCO_STATIC_FUNC_CHECK ) -#ifdef __STDC__ -#if __cplusplus -extern "C" { -#endif /* __cplusplus */ -static int stat(const char *__f, struct stat *__p) { - return __stat32(__f, __p); -} -#if __cplusplus - } -#endif /* __cplusplus */ - -# else /* !__STDC__ THIS FAILS ON BSD SYSTEMS */ -#if __cplusplus -extern "C" { -#endif /* __cplusplus */ -static int stat(__f, __p) - char *__f; - struct stat *__p; -{ - return __stat32(__f, __p); -} -#if __cplusplus - } -#endif /* __cplusplus */ -#endif -#endif /* SCO_STATIC_FUNC_CHECK */ - - -#if defined( ULTRIX_STAT_CHECK ) -@(#)stat.h 6.1 (ULTRIX) -#define S_IFPORT S_IFIFO - -/* macro to test for symbolic link */ -#define S_ISLNK(mode) (((mode) & S_IFMT) == S_IFLNK) - - fstat(), - lstat(), -/* THE INSERTION LINE FAILS ON BSD SYSTEMS */ -#endif /* ULTRIX_STAT_CHECK */ - - -#if defined( VXWORKS_NEEDS_VXWORKS_CHECK ) -#include </dev/null> /* ULONG */ -# define __INCstath <sys/stat.h> -#include <types/vxTypesOld.h> -#endif /* VXWORKS_NEEDS_VXWORKS_CHECK */ diff --git a/gcc/fixinc/tests/base/sys/time.h b/gcc/fixinc/tests/base/sys/time.h deleted file mode 100644 index f009f7e..0000000 --- a/gcc/fixinc/tests/base/sys/time.h +++ /dev/null @@ -1,41 +0,0 @@ -/* DO NOT EDIT THIS FILE. - - It has been auto-edited by fixincludes from: - - "fixinc/tests/inc/sys/time.h" - - This had to be done to correct non-standard usages in the - original, manufacturer supplied header file. */ - - - -#if defined( HPUX_SYSTIME_CHECK ) -struct sigevent; -#endif /* HPUX_SYSTIME_CHECK */ - - -#if defined( ULTRIX_SYS_TIME_CHECK ) -@(#)time.h 6.1 (ULTRIX) -extern time_t time( time_t *__tloc ); - -extern int adjtime(struct timeval *, struct timeval *); -extern int getitimer(int, struct itimerval *); -extern int setitimer(int, struct itimerval *, struct itimerval *); -extern int gettimeofday(struct timeval *, struct timezone *); -extern int settimeofday(struct timeval *, struct timezone *); -extern void profil(const void *, size_t, size_t, unsigned int); -extern int stime(const time_t *); -extern int utimes(const char *, const struct timeval[2]); -extern int select(int, fd_set *, fd_set *, fd_set *, struct timeval *); -extern double difftime(); -extern int adjtime(); -extern int getitimer(); -extern int setitimer(); -extern int gettimeofday(); -extern int settimeofday(); -extern void profil(); -extern int stime(); -extern int utimes(); -extern int select(); - -#endif /* ULTRIX_SYS_TIME_CHECK */ diff --git a/gcc/fixinc/tests/base/sys/times.h b/gcc/fixinc/tests/base/sys/times.h deleted file mode 100644 index 2de7d78..0000000 --- a/gcc/fixinc/tests/base/sys/times.h +++ /dev/null @@ -1,14 +0,0 @@ -/* DO NOT EDIT THIS FILE. - - It has been auto-edited by fixincludes from: - - "fixinc/tests/inc/sys/times.h" - - This had to be done to correct non-standard usages in the - original, manufacturer supplied header file. */ - - - -#if defined( SCO_UTIME_CHECK ) -extern int utime(const char *, const struct utimbuf *); -#endif /* SCO_UTIME_CHECK */ diff --git a/gcc/fixinc/tests/base/sys/types.h b/gcc/fixinc/tests/base/sys/types.h deleted file mode 100644 index 683b5e9..0000000 --- a/gcc/fixinc/tests/base/sys/types.h +++ /dev/null @@ -1,30 +0,0 @@ -/* DO NOT EDIT THIS FILE. - - It has been auto-edited by fixincludes from: - - "fixinc/tests/inc/sys/types.h" - - This had to be done to correct non-standard usages in the - original, manufacturer supplied header file. */ - - - -#if defined( GNU_TYPES_CHECK ) -#if !defined(_GCC_PTRDIFF_T) -#define _GCC_PTRDIFF_T -typedef __PTRDIFF_TYPE__ ptrdiff_t; -#endif - /* long int */ -#if !defined(_GCC_SIZE_T) -#define _GCC_SIZE_T -typedef __SIZE_TYPE__ size_t; -#endif - /* uint_t */ -#ifndef __cplusplus -#if !defined(_GCC_WCHAR_T) && ! defined(__cplusplus) -#define _GCC_WCHAR_T -typedef __WCHAR_TYPE__ wchar_t; -#endif - -#endif /* ushort_t */ -#endif /* GNU_TYPES_CHECK */ diff --git a/gcc/fixinc/tests/base/sys/utsname.h b/gcc/fixinc/tests/base/sys/utsname.h deleted file mode 100644 index 5f06415..0000000 --- a/gcc/fixinc/tests/base/sys/utsname.h +++ /dev/null @@ -1,16 +0,0 @@ -/* DO NOT EDIT THIS FILE. - - It has been auto-edited by fixincludes from: - - "fixinc/tests/inc/sys/utsname.h" - - This had to be done to correct non-standard usages in the - original, manufacturer supplied header file. */ - - - -#if defined( ULTRIX_FIX_FIXPROTO_CHECK ) -/* ULTRIX's uname */ -struct utsname; -extern int uname(); -#endif /* ULTRIX_FIX_FIXPROTO_CHECK */ diff --git a/gcc/fixinc/tests/base/sys/wait.h b/gcc/fixinc/tests/base/sys/wait.h deleted file mode 100644 index a0311c6..0000000 --- a/gcc/fixinc/tests/base/sys/wait.h +++ /dev/null @@ -1,27 +0,0 @@ -/* DO NOT EDIT THIS FILE. - - It has been auto-edited by fixincludes from: - - "fixinc/tests/inc/sys/wait.h" - - This had to be done to correct non-standard usages in the - original, manufacturer supplied header file. */ - - - -#if defined( AIX_SYSWAIT_CHECK ) -/* bos325, */ -struct rusage; -extern pid_t wait3(); - /* pid_t wait3(int *, int, struct rusage *); */ -#endif /* AIX_SYSWAIT_CHECK */ - - -#if defined( AIX_SYSWAIT_2_CHECK ) -#define WSTOPSIG(__x) (int)(WIFSTOPPED(__x) ? (int)((((unsigned int)__x) >> 8) & 0xff) : -1) -#endif /* AIX_SYSWAIT_2_CHECK */ - - -#if defined( NEXT_WAIT_UNION_CHECK ) -extern pid_d wait(void*); -#endif /* NEXT_WAIT_UNION_CHECK */ diff --git a/gcc/fixinc/tests/base/testing.h b/gcc/fixinc/tests/base/testing.h deleted file mode 100644 index 0530cdf..0000000 --- a/gcc/fixinc/tests/base/testing.h +++ /dev/null @@ -1,145 +0,0 @@ -/* DO NOT EDIT THIS FILE. - - It has been auto-edited by fixincludes from: - - "fixinc/tests/inc/testing.h" - - This had to be done to correct non-standard usages in the - original, manufacturer supplied header file. */ - - - -#if defined( ALPHA___EXTERN_PREFIX_CHECK ) -#if (defined(__DECC) || defined(__PRAGMA_EXTERN_PREFIX)) -#pragma extern_prefix "_P" -# if (defined(__DECC) || defined(__PRAGMA_EXTERN_PREFIX)) -# pragma extern_prefix "_E" -# if !defined(_LIBC_POLLUTION_H_) && (defined(__DECC) || defined(__PRAGMA_EXTERN_PREFIX)) -# pragma extern_prefix "" -#endif /* ALPHA___EXTERN_PREFIX_CHECK */ - - -#if defined( ALPHA_BAD_LVAL_CHECK ) -#pragma extern_prefix "_FOO" -#define something _FOOsomething -#define mumble _FOOmumble -#endif /* ALPHA_BAD_LVAL_CHECK */ - - -#if defined( AVOID_WCHAR_T_TYPE_CHECK ) -#ifndef __cplusplus -typedef unsigned short wchar_t ; -#endif /* wchar_t - type */ -#endif /* AVOID_WCHAR_T_TYPE_CHECK */ - - -#if defined( CTRL_QUOTES_DEF_CHECK ) -#define BSD43_CTRL(n, x) ((n<<8)+x) - -#endif /* CTRL_QUOTES_DEF_CHECK */ - - -#if defined( CTRL_QUOTES_USE_CHECK ) -#define TCTRLFOO BSD43_CTRL('T', 1) -#endif /* CTRL_QUOTES_USE_CHECK */ - - -#if defined( DJGPP_WCHAR_H_CHECK ) -#include <stddef.h> -#include <sys/djtypes.h> -extern __DJ_wint_t x; - -#endif /* DJGPP_WCHAR_H_CHECK */ - - -#if defined( HPUX11_SIZE_T_CHECK ) -#define _hpux_size_t size_t - extern int getpwuid_r( char *, _hpux_size_t, struct passwd **); - -#endif /* HPUX11_SIZE_T_CHECK */ - - -#if defined( IO_QUOTES_DEF_CHECK ) -#define BSD43__IOWR(n, x) ((n<<8)+x) -#define _IOWN(x,y,t) (_IOC_IN|(((t)&_IOCPARM_MASK)<<16)|(x<<8)|y) -#define _IO(x,y) (x<<8|y) -#endif /* IO_QUOTES_DEF_CHECK */ - - -#if defined( IO_QUOTES_USE_CHECK ) -#define TIOCFOO BSD43__IOWR('T', 1) -#define TIOCFOO \ -BSD43__IOWR('T', 1) /* Some are multi-line */ -#endif /* IO_QUOTES_USE_CHECK */ - - -#if defined( LIBC1_IFDEFD_MEMX_CHECK ) -/* Copy N bytes of SRC to DEST. */ -extern __ptr_t memcpy __P ((__ptr_t __dest, __const __ptr_t __src, - size_t __n)); -#endif /* LIBC1_IFDEFD_MEMX_CHECK */ - - -#if defined( MACHINE_ANSI_H_VA_LIST_CHECK ) - # define _BSD_VA_LIST_ __builtin_va_list -#endif /* MACHINE_ANSI_H_VA_LIST_CHECK */ - - -#if defined( MACHINE_NAME_CHECK ) -/* MACH_DIFF: */ -#if defined( i386 ) || defined( sparc ) || defined( vax ) -/* no uniform test, so be careful :-) */ -#endif /* MACHINE_NAME_CHECK */ - - -#if defined( STRICT_ANSI_NOT_CHECK ) -#if !defined(__STRICT_ANSI__) -#if !defined(__STRICT_ANSI__) -#if !defined(__STRICT_ANSI__) -#if !defined(__STRICT_ANSI__)/* not std C */ -int foo; - -#end-end-end-end-if :-) -#endif /* STRICT_ANSI_NOT_CHECK */ - - -#if defined( STRICT_ANSI_ONLY_CHECK ) -#if defined(__STRICT_ANSI__) /* is std C - */ -int foo; -#endif -#endif /* STRICT_ANSI_ONLY_CHECK */ - - -#if defined( SYSV68_STRING_CHECK ) -extern unsigned int strlen(); -extern int ffs(int); -extern void - *memccpy(), - memcpy(); -extern int - strcmp(), - strncmp(); -extern unsigned int - strlen(), - strspn(); -extern size_t - strlen(), strspn(); -#endif /* SYSV68_STRING_CHECK */ - - -#if defined( UNDEFINE_NULL_CHECK ) -#ifndef NULL -#define NULL 0UL -#endif -#ifndef NULL -#define NULL ((void*)0) -#endif - -#endif /* UNDEFINE_NULL_CHECK */ - - -#if defined( WINDISS_VALIST_CHECK ) -#include <stdarg.h> -#endif /* WINDISS_VALIST_CHECK */ diff --git a/gcc/fixinc/tests/base/time.h b/gcc/fixinc/tests/base/time.h deleted file mode 100644 index cf22e20..0000000 --- a/gcc/fixinc/tests/base/time.h +++ /dev/null @@ -1,27 +0,0 @@ -/* DO NOT EDIT THIS FILE. - - It has been auto-edited by fixincludes from: - - "fixinc/tests/inc/time.h" - - This had to be done to correct non-standard usages in the - original, manufacturer supplied header file. */ - - - -#if defined( VXWORKS_NEEDS_VXTYPES_CHECK ) -unsigned int _clocks_per_sec; -#endif /* VXWORKS_NEEDS_VXTYPES_CHECK */ - - -#if defined( VXWORKS_TIME_CHECK ) -#ifndef __gcc_VOIDFUNCPTR_defined -#ifdef __cplusplus -typedef void (*__gcc_VOIDFUNCPTR) (...); -#else -typedef void (*__gcc_VOIDFUNCPTR) (); -#endif -#define __gcc_VOIDFUNCPTR_defined -#endif -#define VOIDFUNCPTR __gcc_VOIDFUNCPTR -#endif /* VXWORKS_TIME_CHECK */ diff --git a/gcc/fixinc/tests/base/tinfo.h b/gcc/fixinc/tests/base/tinfo.h deleted file mode 100644 index 46bc611..0000000 --- a/gcc/fixinc/tests/base/tinfo.h +++ /dev/null @@ -1,16 +0,0 @@ -/* DO NOT EDIT THIS FILE. - - It has been auto-edited by fixincludes from: - - "fixinc/tests/inc/tinfo.h" - - This had to be done to correct non-standard usages in the - original, manufacturer supplied header file. */ - - - -#if defined( TINFO_CPLUSPLUS_CHECK ) -#ifdef __cplusplus -int bogus; -#endif -#endif /* TINFO_CPLUSPLUS_CHECK */ diff --git a/gcc/fixinc/tests/base/types/vxTypesBase.h b/gcc/fixinc/tests/base/types/vxTypesBase.h deleted file mode 100644 index 76a9338..0000000 --- a/gcc/fixinc/tests/base/types/vxTypesBase.h +++ /dev/null @@ -1,30 +0,0 @@ -/* DO NOT EDIT THIS FILE. - - It has been auto-edited by fixincludes from: - - "fixinc/tests/inc/types/vxTypesBase.h" - - This had to be done to correct non-standard usages in the - original, manufacturer supplied header file. */ - - - -#if defined( VXWORKS_GCC_PROBLEM_CHECK ) -#if 1 -#ifndef _GCC_SIZE_T -#define _GCC_SIZE_T -typedef unsigned int size_t; -#endif -#ifndef _GCC_PTRDIFF_T -#define _GCC_PTRDIFF_T -typedef long ptrdiff_t; -#endif -#ifndef __cplusplus -#ifndef _GCC_WCHAR_T -#define _GCC_WCHAR_T -typedef unsigned short wchar_t; -#endif -#endif -#endif /* __GNUC_TYPEOF_FEATURE_BROKEN_USE_DEFAULT_UNTIL_FIXED__ */ - -#endif /* VXWORKS_GCC_PROBLEM_CHECK */ diff --git a/gcc/fixinc/tests/base/unistd.h b/gcc/fixinc/tests/base/unistd.h deleted file mode 100644 index 98e8c34..0000000 --- a/gcc/fixinc/tests/base/unistd.h +++ /dev/null @@ -1,33 +0,0 @@ -/* DO NOT EDIT THIS FILE. - - It has been auto-edited by fixincludes from: - - "fixinc/tests/inc/unistd.h" - - This had to be done to correct non-standard usages in the - original, manufacturer supplied header file. */ - - - -#if defined( ALPHA_SBRK_CHECK ) -extern void *sbrk(ptrdiff_t increment); -#endif /* ALPHA_SBRK_CHECK */ - - -#if defined( SOLARIS_UNISTD_CHECK ) -#ident "@(#)unistd.h 1.33 95/08/28 SMI" -extern int getpagesize(); -extern pid_t getpgid(pid_t); -extern int getpagesize(); -extern int getpgid(); -#endif /* SOLARIS_UNISTD_CHECK */ - - -#if defined( ULTRIX_UNISTD_CHECK ) -@(#)unistd.h 6.1 (ULTRIX) - getgroups(), - getpagesize(), - fork(), - vfork(), - -#endif /* ULTRIX_UNISTD_CHECK */ diff --git a/gcc/fixinc/tests/base/wchar.h b/gcc/fixinc/tests/base/wchar.h deleted file mode 100644 index 5c0b9df..0000000 --- a/gcc/fixinc/tests/base/wchar.h +++ /dev/null @@ -1,15 +0,0 @@ -/* DO NOT EDIT THIS FILE. - - It has been auto-edited by fixincludes from: - - "fixinc/tests/inc/wchar.h" - - This had to be done to correct non-standard usages in the - original, manufacturer supplied header file. */ - - - -#if defined( ALPHA_WCHAR_CHECK ) -extern wchar_t *wcstok __((wchar_t *, const wchar_t *, wchar_t **)) __asm__("wcstok_r"); -extern size_t wcsftime __((wchar_t *, size_t, const wchar_t *, const struct tm *)) __asm__("__wcsftime_isoc"); -#endif /* ALPHA_WCHAR_CHECK */ diff --git a/gcc/fixinc/tests/base/widec.h b/gcc/fixinc/tests/base/widec.h deleted file mode 100644 index e3c17ff..0000000 --- a/gcc/fixinc/tests/base/widec.h +++ /dev/null @@ -1,15 +0,0 @@ -/* DO NOT EDIT THIS FILE. - - It has been auto-edited by fixincludes from: - - "fixinc/tests/inc/widec.h" - - This had to be done to correct non-standard usages in the - original, manufacturer supplied header file. */ - - - -#if defined( SOLARIS_WIDEC_CHECK ) -#include <euc.h> -#include <wchar.h> -#endif /* SOLARIS_WIDEC_CHECK */ |