diff options
Diffstat (limited to 'gcc-4.2.1-5666.3/fixincludes/tests/base')
88 files changed, 2550 insertions, 0 deletions
diff --git a/gcc-4.2.1-5666.3/fixincludes/tests/base/AvailabilityMacros.h b/gcc-4.2.1-5666.3/fixincludes/tests/base/AvailabilityMacros.h new file mode 100644 index 000000000..81a0da0f7 --- /dev/null +++ b/gcc-4.2.1-5666.3/fixincludes/tests/base/AvailabilityMacros.h @@ -0,0 +1,15 @@ +/* DO NOT EDIT THIS FILE. + + It has been auto-edited by fixincludes from: + + "fixinc/tests/inc/AvailabilityMacros.h" + + This had to be done to correct non-standard usages in the + original, manufacturer supplied header file. */ + + + +#if defined( DARWIN_GCC4_BREAKAGE_CHECK ) +#if defined(__GNUC__) && ((__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 1)) + +#endif /* DARWIN_GCC4_BREAKAGE_CHECK */ diff --git a/gcc-4.2.1-5666.3/fixincludes/tests/base/X11/ShellP.h b/gcc-4.2.1-5666.3/fixincludes/tests/base/X11/ShellP.h new file mode 100644 index 000000000..45e8e1f70 --- /dev/null +++ b/gcc-4.2.1-5666.3/fixincludes/tests/base/X11/ShellP.h @@ -0,0 +1,21 @@ +/* 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-4.2.1-5666.3/fixincludes/tests/base/X11/Xmu.h b/gcc-4.2.1-5666.3/fixincludes/tests/base/X11/Xmu.h new file mode 100644 index 000000000..5fac5dba9 --- /dev/null +++ b/gcc-4.2.1-5666.3/fixincludes/tests/base/X11/Xmu.h @@ -0,0 +1,16 @@ +/* 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-4.2.1-5666.3/fixincludes/tests/base/Xm/BaseClassI.h b/gcc-4.2.1-5666.3/fixincludes/tests/base/Xm/BaseClassI.h new file mode 100644 index 000000000..afc3a897e --- /dev/null +++ b/gcc-4.2.1-5666.3/fixincludes/tests/base/Xm/BaseClassI.h @@ -0,0 +1,15 @@ +/* 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-4.2.1-5666.3/fixincludes/tests/base/Xm/Traversal.h b/gcc-4.2.1-5666.3/fixincludes/tests/base/Xm/Traversal.h new file mode 100644 index 000000000..61e6df116 --- /dev/null +++ b/gcc-4.2.1-5666.3/fixincludes/tests/base/Xm/Traversal.h @@ -0,0 +1,21 @@ +/* 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-4.2.1-5666.3/fixincludes/tests/base/_G_config.h b/gcc-4.2.1-5666.3/fixincludes/tests/base/_G_config.h new file mode 100644 index 000000000..99f0c8222 --- /dev/null +++ b/gcc-4.2.1-5666.3/fixincludes/tests/base/_G_config.h @@ -0,0 +1,14 @@ +/* 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-4.2.1-5666.3/fixincludes/tests/base/ansi/math.h b/gcc-4.2.1-5666.3/fixincludes/tests/base/ansi/math.h new file mode 100644 index 000000000..c8a9ca208 --- /dev/null +++ b/gcc-4.2.1-5666.3/fixincludes/tests/base/ansi/math.h @@ -0,0 +1,14 @@ +/* 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-4.2.1-5666.3/fixincludes/tests/base/ansi/stdlib.h b/gcc-4.2.1-5666.3/fixincludes/tests/base/ansi/stdlib.h new file mode 100644 index 000000000..e47d49cc8 --- /dev/null +++ b/gcc-4.2.1-5666.3/fixincludes/tests/base/ansi/stdlib.h @@ -0,0 +1,14 @@ +/* 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-4.2.1-5666.3/fixincludes/tests/base/arch/i960/archI960.h b/gcc-4.2.1-5666.3/fixincludes/tests/base/arch/i960/archI960.h new file mode 100644 index 000000000..b886700c4 --- /dev/null +++ b/gcc-4.2.1-5666.3/fixincludes/tests/base/arch/i960/archI960.h @@ -0,0 +1,17 @@ +/* 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-4.2.1-5666.3/fixincludes/tests/base/architecture/ppc/math.h b/gcc-4.2.1-5666.3/fixincludes/tests/base/architecture/ppc/math.h new file mode 100644 index 000000000..dcd04236b --- /dev/null +++ b/gcc-4.2.1-5666.3/fixincludes/tests/base/architecture/ppc/math.h @@ -0,0 +1,88 @@ +/* DO NOT EDIT THIS FILE. + + It has been auto-edited by fixincludes from: + + "fixinc/tests/inc/architecture/ppc/math.h" + + This had to be done to correct non-standard usages in the + original, manufacturer supplied header file. */ + +/* This file prototypes the long double functions available on Mac OS + 10.3.9. */ +#ifndef __MATH__ +# undef __APPLE_CC__ +# define __APPLE_CC__ 1345 +# include_next <architecture/ppc/math.h> +# undef __APPLE_CC__ +# define __APPLE_CC__ 1 +# ifndef __LIBMLDBL_COMPAT +# ifdef __LONG_DOUBLE_128__ +# define __LIBMLDBL_COMPAT(sym) __asm("_" #sym "$LDBL128") +# else +# define __LIBMLDBL_COMPAT(sym) +# endif /* __LONG_DOUBLE_128__ */ +# endif /* __LIBMLDBL_COMPAT */ +# ifdef __cplusplus + extern "C" { +# endif + extern long double acosl( long double ) __LIBMLDBL_COMPAT(acosl); + extern long double asinl( long double ) __LIBMLDBL_COMPAT(asinl); + extern long double atanl( long double ) __LIBMLDBL_COMPAT(atanl); + extern long double atan2l( long double, long double ) __LIBMLDBL_COMPAT(atan2l); + extern long double cosl( long double ) __LIBMLDBL_COMPAT(cosl); + extern long double sinl( long double ) __LIBMLDBL_COMPAT(sinl); + extern long double tanl( long double ) __LIBMLDBL_COMPAT(tanl); + extern long double acoshl( long double ) __LIBMLDBL_COMPAT(acoshl); + extern long double asinhl( long double ) __LIBMLDBL_COMPAT(asinhl); + extern long double atanhl( long double ) __LIBMLDBL_COMPAT(atanhl); + extern long double coshl( long double ) __LIBMLDBL_COMPAT(coshl); + extern long double sinhl( long double ) __LIBMLDBL_COMPAT(sinhl); + extern long double tanhl( long double ) __LIBMLDBL_COMPAT(tanhl); + extern long double expl( long double ) __LIBMLDBL_COMPAT(expl); + extern long double exp2l( long double ) __LIBMLDBL_COMPAT(exp2l); + extern long double expm1l( long double ) __LIBMLDBL_COMPAT(expm1l); + extern long double logl( long double ) __LIBMLDBL_COMPAT(logl); + extern long double log10l( long double ) __LIBMLDBL_COMPAT(log10l); + extern long double log2l( long double ) __LIBMLDBL_COMPAT(log2l); + extern long double log1pl( long double ) __LIBMLDBL_COMPAT(log1pl); + extern long double logbl( long double ) __LIBMLDBL_COMPAT(logbl); + extern long double modfl( long double, long double * ) __LIBMLDBL_COMPAT(modfl); + extern long double ldexpl( long double, int ) __LIBMLDBL_COMPAT(ldexpl); + extern long double frexpl( long double, int * ) __LIBMLDBL_COMPAT(frexpl); + extern int ilogbl( long double ) __LIBMLDBL_COMPAT(ilogbl); + extern long double scalbnl( long double, int ) __LIBMLDBL_COMPAT(scalbnl); + extern long double scalblnl( long double, long int ) __LIBMLDBL_COMPAT(scalblnl); + extern long double fabsl( long double ) __LIBMLDBL_COMPAT(fabsl); + extern long double cbrtl( long double ) __LIBMLDBL_COMPAT(cbrtl); + extern long double hypotl( long double, long double ) __LIBMLDBL_COMPAT(hypotl); + extern long double powl( long double, long double ) __LIBMLDBL_COMPAT(powl); + extern long double sqrtl( long double ) __LIBMLDBL_COMPAT(sqrtl); + extern long double erfl( long double ) __LIBMLDBL_COMPAT(erfl); + extern long double erfcl( long double ) __LIBMLDBL_COMPAT(erfcl); + extern long double lgammal( long double ) __LIBMLDBL_COMPAT(lgammal); + extern long double tgammal( long double ) __LIBMLDBL_COMPAT(tgammal); + extern long double ceill( long double ) __LIBMLDBL_COMPAT(ceill); + extern long double floorl( long double ) __LIBMLDBL_COMPAT(floorl); + extern long double nearbyintl( long double ) __LIBMLDBL_COMPAT(nearbyintl); + extern long double rintl( long double ) __LIBMLDBL_COMPAT(rintl); + extern long int lrintl( long double ) __LIBMLDBL_COMPAT(lrintl); + extern long long int llrintl( long double ) __LIBMLDBL_COMPAT(llrintl); + extern long double roundl( long double ) __LIBMLDBL_COMPAT(roundl); + extern long int lroundl( long double ) __LIBMLDBL_COMPAT(lroundl); + extern long long int llroundl( long double ) __LIBMLDBL_COMPAT(llroundl); + extern long double truncl( long double ) __LIBMLDBL_COMPAT(truncl); + extern long double fmodl( long double, long double) __LIBMLDBL_COMPAT(fmodl); + extern long double remainderl( long double, long double ) __LIBMLDBL_COMPAT(remainderl); + extern long double remquol( long double, long double, int * ) __LIBMLDBL_COMPAT(remquol); + extern long double copysignl( long double, long double ) __LIBMLDBL_COMPAT(copysignl); + extern long double nanl( const char * ) __LIBMLDBL_COMPAT(nanl); + extern long double nextafterl( long double, long double ) __LIBMLDBL_COMPAT(nextafterl); + extern long double nexttowardl( long double, long double ) __LIBMLDBL_COMPAT(nexttowardl); + extern long double fdiml( long double, long double ) __LIBMLDBL_COMPAT(fdiml); + extern long double fmaxl( long double, long double ) __LIBMLDBL_COMPAT(fmaxl); + extern long double fminl( long double, long double ) __LIBMLDBL_COMPAT(fminl); + extern long double fmal( long double, long double, long double ) __LIBMLDBL_COMPAT(fmal); +# ifdef __cplusplus + } +# endif +#endif /* __MATH__ */ diff --git a/gcc-4.2.1-5666.3/fixincludes/tests/base/arpa/inet.h b/gcc-4.2.1-5666.3/fixincludes/tests/base/arpa/inet.h new file mode 100644 index 000000000..acd8ed545 --- /dev/null +++ b/gcc-4.2.1-5666.3/fixincludes/tests/base/arpa/inet.h @@ -0,0 +1,15 @@ +/* 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-4.2.1-5666.3/fixincludes/tests/base/assert.h b/gcc-4.2.1-5666.3/fixincludes/tests/base/assert.h new file mode 100644 index 000000000..2642cbe49 --- /dev/null +++ b/gcc-4.2.1-5666.3/fixincludes/tests/base/assert.h @@ -0,0 +1,43 @@ +/* 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-4.2.1-5666.3/fixincludes/tests/base/bits/huge_val.h b/gcc-4.2.1-5666.3/fixincludes/tests/base/bits/huge_val.h new file mode 100644 index 000000000..f8bb0495b --- /dev/null +++ b/gcc-4.2.1-5666.3/fixincludes/tests/base/bits/huge_val.h @@ -0,0 +1,27 @@ +/* DO NOT EDIT THIS FILE. + + It has been auto-edited by fixincludes from: + + "fixinc/tests/inc/bits/huge_val.h" + + This had to be done to correct non-standard usages in the + original, manufacturer supplied header file. */ + + + +#if defined( HUGE_VAL_HEX_CHECK ) +#define HUGE_VAL (__builtin_huge_val()) + +#endif /* HUGE_VAL_HEX_CHECK */ + + +#if defined( HUGE_VALF_HEX_CHECK ) +#define HUGE_VALF (__builtin_huge_valf()) + +#endif /* HUGE_VALF_HEX_CHECK */ + + +#if defined( HUGE_VALL_HEX_CHECK ) +#define HUGE_VALL (__builtin_huge_vall()) + +#endif /* HUGE_VALL_HEX_CHECK */ diff --git a/gcc-4.2.1-5666.3/fixincludes/tests/base/bsd/libc.h b/gcc-4.2.1-5666.3/fixincludes/tests/base/bsd/libc.h new file mode 100644 index 000000000..939a5b1c9 --- /dev/null +++ b/gcc-4.2.1-5666.3/fixincludes/tests/base/bsd/libc.h @@ -0,0 +1,14 @@ +/* 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-4.2.1-5666.3/fixincludes/tests/base/c_asm.h b/gcc-4.2.1-5666.3/fixincludes/tests/base/c_asm.h new file mode 100644 index 000000000..f3e0daaee --- /dev/null +++ b/gcc-4.2.1-5666.3/fixincludes/tests/base/c_asm.h @@ -0,0 +1,20 @@ +/* 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-4.2.1-5666.3/fixincludes/tests/base/com_err.h b/gcc-4.2.1-5666.3/fixincludes/tests/base/com_err.h new file mode 100644 index 000000000..6017d2a6c --- /dev/null +++ b/gcc-4.2.1-5666.3/fixincludes/tests/base/com_err.h @@ -0,0 +1,14 @@ +/* DO NOT EDIT THIS FILE. + + It has been auto-edited by fixincludes from: + + "fixinc/tests/inc/com_err.h" + + This had to be done to correct non-standard usages in the + original, manufacturer supplied header file. */ + + + +#if defined( STDIO_DUMMY_VA_LIST_CLIENTS_CHECK ) +extern void mumble( __gnuc_va_list); +#endif /* STDIO_DUMMY_VA_LIST_CLIENTS_CHECK */ diff --git a/gcc-4.2.1-5666.3/fixincludes/tests/base/ctrl-quotes-def-1.h b/gcc-4.2.1-5666.3/fixincludes/tests/base/ctrl-quotes-def-1.h new file mode 100644 index 000000000..16b18dc41 --- /dev/null +++ b/gcc-4.2.1-5666.3/fixincludes/tests/base/ctrl-quotes-def-1.h @@ -0,0 +1,14 @@ +/* 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-4.2.1-5666.3/fixincludes/tests/base/ctype.h b/gcc-4.2.1-5666.3/fixincludes/tests/base/ctype.h new file mode 100644 index 000000000..deabd5e44 --- /dev/null +++ b/gcc-4.2.1-5666.3/fixincludes/tests/base/ctype.h @@ -0,0 +1,65 @@ +/* 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-4.2.1-5666.3/fixincludes/tests/base/curses.h b/gcc-4.2.1-5666.3/fixincludes/tests/base/curses.h new file mode 100644 index 000000000..e05f8912d --- /dev/null +++ b/gcc-4.2.1-5666.3/fixincludes/tests/base/curses.h @@ -0,0 +1,35 @@ +/* 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( VOID_NULL_CHECK ) +#define NULL 0 /* typed NULL */ +#endif /* VOID_NULL_CHECK */ diff --git a/gcc-4.2.1-5666.3/fixincludes/tests/base/errno.h b/gcc-4.2.1-5666.3/fixincludes/tests/base/errno.h new file mode 100644 index 000000000..e2dd5b1c0 --- /dev/null +++ b/gcc-4.2.1-5666.3/fixincludes/tests/base/errno.h @@ -0,0 +1,21 @@ +/* DO NOT EDIT THIS FILE. + + It has been auto-edited by fixincludes from: + + "fixinc/tests/inc/errno.h" + + This had to be done to correct non-standard usages in the + original, manufacturer supplied header file. */ + + + +#if defined( HPUX_EXTERN_ERRNO_CHECK ) +#ifdef __cplusplus +extern "C" { +#endif + extern int errno; +#ifdef __cplusplus +} +#endif + +#endif /* HPUX_EXTERN_ERRNO_CHECK */ diff --git a/gcc-4.2.1-5666.3/fixincludes/tests/base/fixinc-test-limits.h b/gcc-4.2.1-5666.3/fixincludes/tests/base/fixinc-test-limits.h new file mode 100644 index 000000000..0422d0901 --- /dev/null +++ b/gcc-4.2.1-5666.3/fixincludes/tests/base/fixinc-test-limits.h @@ -0,0 +1,19 @@ +/* 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-4.2.1-5666.3/fixincludes/tests/base/fs/rfs/rf_cache.h b/gcc-4.2.1-5666.3/fixincludes/tests/base/fs/rfs/rf_cache.h new file mode 100644 index 000000000..45fec6349 --- /dev/null +++ b/gcc-4.2.1-5666.3/fixincludes/tests/base/fs/rfs/rf_cache.h @@ -0,0 +1,21 @@ +/* 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-4.2.1-5666.3/fixincludes/tests/base/hsfs/hsfs_spec.h b/gcc-4.2.1-5666.3/fixincludes/tests/base/hsfs/hsfs_spec.h new file mode 100644 index 000000000..2c67852bc --- /dev/null +++ b/gcc-4.2.1-5666.3/fixincludes/tests/base/hsfs/hsfs_spec.h @@ -0,0 +1,14 @@ +/* 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-4.2.1-5666.3/fixincludes/tests/base/ia64/sys/getppdp.h b/gcc-4.2.1-5666.3/fixincludes/tests/base/ia64/sys/getppdp.h new file mode 100644 index 000000000..80fe99ecd --- /dev/null +++ b/gcc-4.2.1-5666.3/fixincludes/tests/base/ia64/sys/getppdp.h @@ -0,0 +1,16 @@ +/* DO NOT EDIT THIS FILE. + + It has been auto-edited by fixincludes from: + + "fixinc/tests/inc/ia64/sys/getppdp.h" + + This had to be done to correct non-standard usages in the + original, manufacturer supplied header file. */ + + + +#if defined( HPUX_SPU_INFO_CHECK ) +#ifdef _KERNEL +extern union mpinfou spu_info[]; +#endif +#endif /* HPUX_SPU_INFO_CHECK */ diff --git a/gcc-4.2.1-5666.3/fixincludes/tests/base/internal/math_core.h b/gcc-4.2.1-5666.3/fixincludes/tests/base/internal/math_core.h new file mode 100644 index 000000000..f39ac3f90 --- /dev/null +++ b/gcc-4.2.1-5666.3/fixincludes/tests/base/internal/math_core.h @@ -0,0 +1,30 @@ +/* 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-4.2.1-5666.3/fixincludes/tests/base/internal/sgimacros.h b/gcc-4.2.1-5666.3/fixincludes/tests/base/internal/sgimacros.h new file mode 100644 index 000000000..a491e865a --- /dev/null +++ b/gcc-4.2.1-5666.3/fixincludes/tests/base/internal/sgimacros.h @@ -0,0 +1,17 @@ +/* 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-4.2.1-5666.3/fixincludes/tests/base/internal/wchar_core.h b/gcc-4.2.1-5666.3/fixincludes/tests/base/internal/wchar_core.h new file mode 100644 index 000000000..5b358a322 --- /dev/null +++ b/gcc-4.2.1-5666.3/fixincludes/tests/base/internal/wchar_core.h @@ -0,0 +1,15 @@ +/* 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-4.2.1-5666.3/fixincludes/tests/base/inttypes.h b/gcc-4.2.1-5666.3/fixincludes/tests/base/inttypes.h new file mode 100644 index 000000000..06d7ebd5c --- /dev/null +++ b/gcc-4.2.1-5666.3/fixincludes/tests/base/inttypes.h @@ -0,0 +1,15 @@ +/* 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-4.2.1-5666.3/fixincludes/tests/base/io-quotes-def-1.h b/gcc-4.2.1-5666.3/fixincludes/tests/base/io-quotes-def-1.h new file mode 100644 index 000000000..383ff08f1 --- /dev/null +++ b/gcc-4.2.1-5666.3/fixincludes/tests/base/io-quotes-def-1.h @@ -0,0 +1,14 @@ +/* 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-4.2.1-5666.3/fixincludes/tests/base/iso/math_c99.h b/gcc-4.2.1-5666.3/fixincludes/tests/base/iso/math_c99.h new file mode 100644 index 000000000..86b6c2050 --- /dev/null +++ b/gcc-4.2.1-5666.3/fixincludes/tests/base/iso/math_c99.h @@ -0,0 +1,112 @@ +/* DO NOT EDIT THIS FILE. + + It has been auto-edited by fixincludes from: + + "fixinc/tests/inc/iso/math_c99.h" + + This had to be done to correct non-standard usages in the + original, manufacturer supplied header file. */ + + + +#if defined( SOLARIS_MATH_1_CHECK ) +#ident "@(#)math_c99.h 1.9 04/11/01 SMI" +#undef HUGE_VAL +#define HUGE_VAL (__builtin_huge_val()) +#undef HUGE_VALF +#define HUGE_VALF (__builtin_huge_valf()) +#undef HUGE_VALL +#define HUGE_VALL (__builtin_huge_vall()) +#endif /* SOLARIS_MATH_1_CHECK */ + + +#if defined( SOLARIS_MATH_2_CHECK ) +#ident "@(#)math_c99.h 1.9 04/11/01 SMI" +#undef INFINITY +#define INFINITY (__builtin_inff()) +#endif /* SOLARIS_MATH_2_CHECK */ + + +#if defined( SOLARIS_MATH_3_CHECK ) +#ident "@(#)math_c99.h 1.9 04/11/01 SMI" +#undef NAN +#define NAN (__builtin_nanf("")) +#endif /* SOLARIS_MATH_3_CHECK */ + + +#if defined( SOLARIS_MATH_4_CHECK ) +#ident "@(#)math_c99.h 1.9 04/11/01 SMI" +#undef fpclassify +#define fpclassify(x) \ + __extension__ ({ __typeof(x) __x_fp = (x); \ + isnan(__x_fp) \ + ? FP_NAN \ + : isinf(__x_fp) \ + ? FP_INFINITE \ + : isnormal(__x_fp) \ + ? FP_NORMAL \ + : __x_fp == 0.0 \ + ? FP_ZERO \ + : FP_SUBNORMAL; }) +#endif /* SOLARIS_MATH_4_CHECK */ + + +#if defined( SOLARIS_MATH_5_CHECK ) +#ident "@(#)math_c99.h 1.9 04/11/01 SMI" +#undef isfinite +#define isfinite(x) \ + __extension__ ({ __typeof (x) __x_f = (x); \ + __builtin_expect(!isnan(__x_f - __x_f), 1); }) +#endif /* SOLARIS_MATH_5_CHECK */ + + +#if defined( SOLARIS_MATH_6_CHECK ) +#ident "@(#)math_c99.h 1.9 04/11/01 SMI" +#undef isinf +#define isinf(x) \ + __extension__ ({ __typeof (x) __x_i = (x); \ + __builtin_expect(!isnan(__x_i) && !isfinite(__x_i), 0); }) +#endif /* SOLARIS_MATH_6_CHECK */ + + +#if defined( SOLARIS_MATH_7_CHECK ) +#ident "@(#)math_c99.h 1.9 04/11/01 SMI" +#undef isnormal +#define isnormal(x) \ + __extension__ ({ __typeof(x) __x_n = (x); \ + if (__x_n < 0.0) __x_n = -__x_n; \ + __builtin_expect(isfinite(__x_n) \ + && (sizeof(__x_n) == sizeof(float) \ + ? __x_n >= __FLT_MIN__ \ + : sizeof(__x_n) == sizeof(long double) \ + ? __x_n >= __LDBL_MIN__ \ + : __x_n >= __DBL_MIN__), 1); }) +#endif /* SOLARIS_MATH_7_CHECK */ + + +#if defined( SOLARIS_MATH_8_CHECK ) +#ident "@(#)math_c99.h 1.9 04/11/01 SMI" +#undef signbit +#define signbit(x) (sizeof(x) == sizeof(float) \ + ? __builtin_signbitf(x) \ + : sizeof(x) == sizeof(long double) \ + ? __builtin_signbitl(x) \ + : __builtin_signbit(x)) +#endif /* SOLARIS_MATH_8_CHECK */ + + +#if defined( SOLARIS_MATH_9_CHECK ) +#ident "@(#)math_c99.h 1.9 04/11/01 SMI" +#undef isgreater +#define isgreater(x, y) __builtin_isgreater(x, y) +#undef isgreaterequal +#define isgreaterequal(x, y) __builtin_isgreaterequal(x, y) +#undef isless +#define isless(x, y) __builtin_isless(x, y) +#undef islessequal +#define islessequal(x, y) __builtin_islessequal(x, y) +#undef islessgreater +#define islessgreater(x, y) __builtin_islessgreater(x, y) +#undef isunordered +#define isunordered(x, y) __builtin_isunordered(x, y) +#endif /* SOLARIS_MATH_9_CHECK */ diff --git a/gcc-4.2.1-5666.3/fixincludes/tests/base/locale.h b/gcc-4.2.1-5666.3/fixincludes/tests/base/locale.h new file mode 100644 index 000000000..3b079e544 --- /dev/null +++ b/gcc-4.2.1-5666.3/fixincludes/tests/base/locale.h @@ -0,0 +1,20 @@ +/* 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-4.2.1-5666.3/fixincludes/tests/base/mach-o/dyld.h b/gcc-4.2.1-5666.3/fixincludes/tests/base/mach-o/dyld.h new file mode 100644 index 000000000..c0620312d --- /dev/null +++ b/gcc-4.2.1-5666.3/fixincludes/tests/base/mach-o/dyld.h @@ -0,0 +1,17 @@ +/* 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-4.2.1-5666.3/fixincludes/tests/base/mach-o/swap.h b/gcc-4.2.1-5666.3/fixincludes/tests/base/mach-o/swap.h new file mode 100644 index 000000000..5899705e2 --- /dev/null +++ b/gcc-4.2.1-5666.3/fixincludes/tests/base/mach-o/swap.h @@ -0,0 +1,26 @@ +/* DO NOT EDIT THIS FILE. APPLE LOCAL file + + It has been auto-edited by fixincludes from: + + "fixinc/tests/inc/mach-o/swap.h" + + This had to be done to correct non-standard usages in the + original, manufacturer supplied header file. */ + +#ifndef FIXINC_WRAP_MACH_O_SWAP_H_DARWIN_MACHO_SWAPH_EXTERNC +#define FIXINC_WRAP_MACH_O_SWAP_H_DARWIN_MACHO_SWAPH_EXTERNC 1 + +#if __cplusplus +extern "C" { +#endif + + +#if defined( DARWIN_MACHO_SWAPH_EXTERNC_CHECK ) +extern void swap_fat_header(); + +#endif /* DARWIN_MACHO_SWAPH_EXTERNC_CHECK */ +#if __cplusplus +} +#endif + +#endif /* FIXINC_WRAP_MACH_O_SWAP_H_DARWIN_MACHO_SWAPH_EXTERNC */ diff --git a/gcc-4.2.1-5666.3/fixincludes/tests/base/machine/cpu.h b/gcc-4.2.1-5666.3/fixincludes/tests/base/machine/cpu.h new file mode 100644 index 000000000..5662d291d --- /dev/null +++ b/gcc-4.2.1-5666.3/fixincludes/tests/base/machine/cpu.h @@ -0,0 +1,16 @@ +/* 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-4.2.1-5666.3/fixincludes/tests/base/malloc.h b/gcc-4.2.1-5666.3/fixincludes/tests/base/malloc.h new file mode 100644 index 000000000..3866af8c7 --- /dev/null +++ b/gcc-4.2.1-5666.3/fixincludes/tests/base/malloc.h @@ -0,0 +1,18 @@ +/* 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-4.2.1-5666.3/fixincludes/tests/base/math.h b/gcc-4.2.1-5666.3/fixincludes/tests/base/math.h new file mode 100644 index 000000000..6b6ae0988 --- /dev/null +++ b/gcc-4.2.1-5666.3/fixincludes/tests/base/math.h @@ -0,0 +1,126 @@ +/* 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( AAB_DARWIN7_9_LONG_DOUBLE_FUNCS_2_CHECK ) +#include <architecture/ppc/math.h> +#endif /* AAB_DARWIN7_9_LONG_DOUBLE_FUNCS_2_CHECK */ + + +#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 ) + +#define HUGE_VAL 3.1415e+9 /* really big */ +#endif /* MATH_HUGE_VAL_FROM_DBL_MAX_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( 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-4.2.1-5666.3/fixincludes/tests/base/netdnet/dnetdb.h b/gcc-4.2.1-5666.3/fixincludes/tests/base/netdnet/dnetdb.h new file mode 100644 index 000000000..e506c6eab --- /dev/null +++ b/gcc-4.2.1-5666.3/fixincludes/tests/base/netdnet/dnetdb.h @@ -0,0 +1,14 @@ +/* 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-4.2.1-5666.3/fixincludes/tests/base/netinet/in.h b/gcc-4.2.1-5666.3/fixincludes/tests/base/netinet/in.h new file mode 100644 index 000000000..2d7f7b852 --- /dev/null +++ b/gcc-4.2.1-5666.3/fixincludes/tests/base/netinet/in.h @@ -0,0 +1,24 @@ +/* DO NOT EDIT THIS FILE. + + It has been auto-edited by fixincludes from: + + "fixinc/tests/inc/netinet/in.h" + + This had to be done to correct non-standard usages in the + original, manufacturer supplied header file. */ + + + +#if defined( HPUX_HTONL_CHECK ) +#if 1 +/* + * Macros for number representation conversion. + */ +#ifndef ntohl +#define ntohl(x) (x) +#define ntohs(x) (x) +#define htonl(x) (x) +#define htons(x) (x) +#endif +#endif /* ! _XOPEN_SOURCE_EXTENDED */ +#endif /* HPUX_HTONL_CHECK */ diff --git a/gcc-4.2.1-5666.3/fixincludes/tests/base/netinet/ip.h b/gcc-4.2.1-5666.3/fixincludes/tests/base/netinet/ip.h new file mode 100644 index 000000000..7b2990352 --- /dev/null +++ b/gcc-4.2.1-5666.3/fixincludes/tests/base/netinet/ip.h @@ -0,0 +1,19 @@ +/* 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-4.2.1-5666.3/fixincludes/tests/base/obstack.h b/gcc-4.2.1-5666.3/fixincludes/tests/base/obstack.h new file mode 100644 index 000000000..ea8e8dd1e --- /dev/null +++ b/gcc-4.2.1-5666.3/fixincludes/tests/base/obstack.h @@ -0,0 +1,14 @@ +/* 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-4.2.1-5666.3/fixincludes/tests/base/pixrect/memvar.h b/gcc-4.2.1-5666.3/fixincludes/tests/base/pixrect/memvar.h new file mode 100644 index 000000000..19230cb33 --- /dev/null +++ b/gcc-4.2.1-5666.3/fixincludes/tests/base/pixrect/memvar.h @@ -0,0 +1,18 @@ +/* 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-4.2.1-5666.3/fixincludes/tests/base/pthread.h b/gcc-4.2.1-5666.3/fixincludes/tests/base/pthread.h new file mode 100644 index 000000000..e75a6ee0e --- /dev/null +++ b/gcc-4.2.1-5666.3/fixincludes/tests/base/pthread.h @@ -0,0 +1,190 @@ +/* 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( ALPHA_PTHREAD_INIT_CHECK ) +/* + * @(#)_RCSfile: pthread.h,v $ _Revision: 1.1.33.21 $ (DEC) _Date: 2000/08/15 15:30:13 $ + */ +#ifndef _PTHREAD_NOMETER_STATIC +# define PTHREAD_MUTEX_INITIALIZER {_PTHREAD_MSTATE_CONFIG, _PTHREAD_MVALID | _PTHREAD_MVF_STA, 0, 0, 0, 0, 0, 0 } +# define PTHREAD_COND_INITIALIZER {_PTHREAD_CSTATE_SLOW, _PTHREAD_CVALID | _PTHREAD_CVF_STA, 0, 0, 0, 0 } +# define PTHREAD_MUTEX_INITWITHNAME_NP(_n_,_a_) {_PTHREAD_MSTATE_CONFIG, _PTHREAD_MVALID | _PTHREAD_MVF_STA, _n_, _a_, 0, 0, 0, 0 } +# define PTHREAD_COND_INITWITHNAME_NP(_n_,_a_) {_PTHREAD_CSTATE_SLOW, _PTHREAD_CVALID | _PTHREAD_CVF_STA, _n_, _a_, 0, 0 } +#else +# define PTHREAD_MUTEX_INITIALIZER {0, _PTHREAD_MVALID | _PTHREAD_MVF_STA, 0, 0, 0, 0, 0, 0 } +# define PTHREAD_MUTEX_INITWITHNAME_NP(_n_,_a_) {0, _PTHREAD_MVALID | _PTHREAD_MVF_STA, _n_, _a_, 0, 0, 0, 0 } +# define PTHREAD_COND_INITWITHNAME_NP(_n_,_a_) {{{0},0}, _PTHREAD_CVALID | _PTHREAD_CVF_STA, _n_, _a_, 0, 0 } +#endif + +#define PTHREAD_RWLOCK_INITIALIZER {_PTHREAD_RWVALID | _PTHREAD_RWVF_STA, 0, 0, 0, 0, 0, 0, 0, 0, 0 } +#define PTHREAD_RWLOCK_INITWITHNAME_NP(_n_,_a_) {_PTHREAD_RWVALID | _PTHREAD_RWVF_STA, _n_, _a_, 0, 0, 0, 0, 0, 0, 0 } + +#endif /* ALPHA_PTHREAD_INIT_CHECK */ + + +#if defined( GLIBC_MUTEX_INIT_CHECK ) +#define PTHREAD_MUTEX_INITIALIZER \ + { { 0, 0, 0, 0, 0, 0 } } +#ifdef __USE_GNU +# if __WORDSIZE == 64 +# define PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP \ + { { 0, 0, 0, 0, PTHREAD_MUTEX_RECURSIVE_NP, 0 } } +# define PTHREAD_ERRORCHECK_MUTEX_INITIALIZER_NP \ + { { 0, 0, 0, 0, PTHREAD_MUTEX_ERRORCHECK_NP, 0 } } +# define PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP \ + { { 0, 0, 0, 0, PTHREAD_MUTEX_ADAPTIVE_NP, 0 } } +# else +# define PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP \ + { { 0, 0, 0, PTHREAD_MUTEX_RECURSIVE_NP, 0, 0 } } +# define PTHREAD_ERRORCHECK_MUTEX_INITIALIZER_NP \ + { { 0, 0, 0, PTHREAD_MUTEX_ERRORCHECK_NP, 0, 0 } } +# define PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP \ + { { 0, 0, 0, PTHREAD_MUTEX_ADAPTIVE_NP, 0, 0 } } +# endif +#endif +# if __WORDSIZE == 64 +# define PTHREAD_RWLOCK_INITIALIZER \ + { { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 } } +# else +# define PTHREAD_RWLOCK_INITIALIZER \ + { { 0, 0, 0, 0, 0, 0, 0, 0 } } +# endif +# ifdef __USE_GNU +# if __WORDSIZE == 64 +# define PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP \ + { { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, \ + PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP } } +# else +# define PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP \ + { { 0, 0, 0, 0, 0, 0, PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP, 0 } } +# endif +# endif +#define PTHREAD_COND_INITIALIZER { { 0, 0, 0, 0, 0, (void *) 0, 0, 0 } } +#endif /* GLIBC_MUTEX_INIT_CHECK */ + + +#if defined( PTHREAD_PAGE_SIZE_CHECK ) +extern int __page_size; +#endif /* PTHREAD_PAGE_SIZE_CHECK */ + + +#if defined( PTHREAD_INCOMPLETE_STRUCT_ARGUMENT_CHECK ) +extern int __sigsetjmp (struct __jmp_buf_tag *__env, int __savemask); +#endif /* PTHREAD_INCOMPLETE_STRUCT_ARGUMENT_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 +#if __STDC__ - 0 == 0 && !defined(_NO_LONGLONG) +#define PTHREAD_MUTEX_INITIALIZER /* = DEFAULTMUTEX */ \ + {{0, 0, 0, DEFAULT_TYPE, _MUTEX_MAGIC}, {{{0}}}, 0} +#else +#define PTHREAD_MUTEX_INITIALIZER /* = DEFAULTMUTEX */ \ + {{0, 0, 0, DEFAULT_TYPE, _MUTEX_MAGIC}, {{{0}}}, {0}} +#endif +#if __STDC__ - 0 == 0 && !defined(_NO_LONGLONG) +#define PTHREAD_COND_INITIALIZER /* = DEFAULTCV */ \ + {{{0, 0, 0, 0}, DEFAULT_TYPE, _COND_MAGIC}, 0} +#else +#define PTHREAD_COND_INITIALIZER /* = DEFAULTCV */ \ + {{{0, 0, 0, 0}, DEFAULT_TYPE, _COND_MAGIC}, {0}} +#endif +#endif /* SOLARIS_MUTEX_INIT_2_CHECK */ + + +#if defined( SOLARIS_RWLOCK_INIT_1_CHECK ) +#ident "@(#)pthread.h 1.26 98/04/12 SMI" +#if __STDC__ - 0 == 0 && !defined(_NO_LONGLONG) +#define PTHREAD_RWLOCK_INITIALIZER {0, 0, 0, {0, 0, 0}, {0, 0}, {0, 0}} +#else +#define PTHREAD_RWLOCK_INITIALIZER {0, 0, 0, {{0}, {0}, {0}}, {{0}, {0}}, {{0}, {0}}} +#endif +#endif /* SOLARIS_RWLOCK_INIT_1_CHECK */ + + +#if defined( SOLARIS_ONCE_INIT_1_CHECK ) +#pragma ident "@(#)pthread.h 1.37 04/09/28 SMI" +#if __STDC__ - 0 == 0 && !defined(_NO_LONGLONG) +#define PTHREAD_ONCE_INIT {{0, 0, 0, PTHREAD_ONCE_NOTDONE}} +#else +#define PTHREAD_ONCE_INIT {{{0}, {0}, {0}, {PTHREAD_ONCE_NOTDONE}}} +#endif +#endif /* SOLARIS_ONCE_INIT_1_CHECK */ + + +#if defined( SOLARIS_ONCE_INIT_2_CHECK ) +#ident "@(#)pthread.h 1.26 98/04/12 SMI" +#if __STDC__ - 0 == 0 && !defined(_NO_LONGLONG) +#define PTHREAD_ONCE_INIT {{0, 0, 0, PTHREAD_ONCE_NOTDONE}} +#else +#define PTHREAD_ONCE_INIT {{{0}, {0}, {0}, {PTHREAD_ONCE_NOTDONE}}} +#endif + +#endif /* SOLARIS_ONCE_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-4.2.1-5666.3/fixincludes/tests/base/reg_types.h b/gcc-4.2.1-5666.3/fixincludes/tests/base/reg_types.h new file mode 100644 index 000000000..950dabb26 --- /dev/null +++ b/gcc-4.2.1-5666.3/fixincludes/tests/base/reg_types.h @@ -0,0 +1,20 @@ +/* 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-4.2.1-5666.3/fixincludes/tests/base/regex.h b/gcc-4.2.1-5666.3/fixincludes/tests/base/regex.h new file mode 100644 index 000000000..304b790f4 --- /dev/null +++ b/gcc-4.2.1-5666.3/fixincludes/tests/base/regex.h @@ -0,0 +1,17 @@ +/* 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-4.2.1-5666.3/fixincludes/tests/base/regexp.h b/gcc-4.2.1-5666.3/fixincludes/tests/base/regexp.h new file mode 100644 index 000000000..35ec04942 --- /dev/null +++ b/gcc-4.2.1-5666.3/fixincludes/tests/base/regexp.h @@ -0,0 +1,18 @@ +/* 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-4.2.1-5666.3/fixincludes/tests/base/rpc/auth.h b/gcc-4.2.1-5666.3/fixincludes/tests/base/rpc/auth.h new file mode 100644 index 000000000..42ba84707 --- /dev/null +++ b/gcc-4.2.1-5666.3/fixincludes/tests/base/rpc/auth.h @@ -0,0 +1,26 @@ +/* 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-4.2.1-5666.3/fixincludes/tests/base/rpc/rpc.h b/gcc-4.2.1-5666.3/fixincludes/tests/base/rpc/rpc.h new file mode 100644 index 000000000..2e7847897 --- /dev/null +++ b/gcc-4.2.1-5666.3/fixincludes/tests/base/rpc/rpc.h @@ -0,0 +1,14 @@ +/* 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-4.2.1-5666.3/fixincludes/tests/base/rpc/svc.h b/gcc-4.2.1-5666.3/fixincludes/tests/base/rpc/svc.h new file mode 100644 index 000000000..4e1245fb0 --- /dev/null +++ b/gcc-4.2.1-5666.3/fixincludes/tests/base/rpc/svc.h @@ -0,0 +1,15 @@ +/* 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-4.2.1-5666.3/fixincludes/tests/base/rpc/xdr.h b/gcc-4.2.1-5666.3/fixincludes/tests/base/rpc/xdr.h new file mode 100644 index 000000000..7b9f9bae9 --- /dev/null +++ b/gcc-4.2.1-5666.3/fixincludes/tests/base/rpc/xdr.h @@ -0,0 +1,25 @@ +/* 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-4.2.1-5666.3/fixincludes/tests/base/rpcsvc/rstat.h b/gcc-4.2.1-5666.3/fixincludes/tests/base/rpcsvc/rstat.h new file mode 100644 index 000000000..05dc65b66 --- /dev/null +++ b/gcc-4.2.1-5666.3/fixincludes/tests/base/rpcsvc/rstat.h @@ -0,0 +1,16 @@ +/* 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-4.2.1-5666.3/fixincludes/tests/base/rpcsvc/rusers.h b/gcc-4.2.1-5666.3/fixincludes/tests/base/rpcsvc/rusers.h new file mode 100644 index 000000000..727c40925 --- /dev/null +++ b/gcc-4.2.1-5666.3/fixincludes/tests/base/rpcsvc/rusers.h @@ -0,0 +1,16 @@ +/* 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-4.2.1-5666.3/fixincludes/tests/base/sparc/asm_linkage.h b/gcc-4.2.1-5666.3/fixincludes/tests/base/sparc/asm_linkage.h new file mode 100644 index 000000000..5690f7789 --- /dev/null +++ b/gcc-4.2.1-5666.3/fixincludes/tests/base/sparc/asm_linkage.h @@ -0,0 +1,14 @@ +/* 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-4.2.1-5666.3/fixincludes/tests/base/standards.h b/gcc-4.2.1-5666.3/fixincludes/tests/base/standards.h new file mode 100644 index 000000000..fccf8063f --- /dev/null +++ b/gcc-4.2.1-5666.3/fixincludes/tests/base/standards.h @@ -0,0 +1,14 @@ +/* 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-4.2.1-5666.3/fixincludes/tests/base/stdint.h b/gcc-4.2.1-5666.3/fixincludes/tests/base/stdint.h new file mode 100644 index 000000000..369b01201 --- /dev/null +++ b/gcc-4.2.1-5666.3/fixincludes/tests/base/stdint.h @@ -0,0 +1,16 @@ +/* DO NOT EDIT THIS FILE. + + It has been auto-edited by fixincludes from: + + "fixinc/tests/inc/stdint.h" + + This had to be done to correct non-standard usages in the + original, manufacturer supplied header file. */ + + + +#if defined( IRIX_STDINT_C99_CHECK ) +#if 0 +#error This header file is to be used only for c99 mode compilations +#else +#endif /* IRIX_STDINT_C99_CHECK */ diff --git a/gcc-4.2.1-5666.3/fixincludes/tests/base/stdio.h b/gcc-4.2.1-5666.3/fixincludes/tests/base/stdio.h new file mode 100644 index 000000000..ea2c001e1 --- /dev/null +++ b/gcc-4.2.1-5666.3/fixincludes/tests/base/stdio.h @@ -0,0 +1,109 @@ +/* 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-4.2.1-5666.3/fixincludes/tests/base/stdio_tag.h b/gcc-4.2.1-5666.3/fixincludes/tests/base/stdio_tag.h new file mode 100644 index 000000000..788de24b2 --- /dev/null +++ b/gcc-4.2.1-5666.3/fixincludes/tests/base/stdio_tag.h @@ -0,0 +1,14 @@ +/* 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-4.2.1-5666.3/fixincludes/tests/base/stdlib.h b/gcc-4.2.1-5666.3/fixincludes/tests/base/stdlib.h new file mode 100644 index 000000000..9f69414e2 --- /dev/null +++ b/gcc-4.2.1-5666.3/fixincludes/tests/base/stdlib.h @@ -0,0 +1,72 @@ +/* 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( LYNXOS_MISSING_PUTENV_CHECK ) +extern char *getenv _AP((const char *)); +extern int putenv _AP((char *)); +#endif /* LYNXOS_MISSING_PUTENV_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-4.2.1-5666.3/fixincludes/tests/base/string.h b/gcc-4.2.1-5666.3/fixincludes/tests/base/string.h new file mode 100644 index 000000000..0c70f3014 --- /dev/null +++ b/gcc-4.2.1-5666.3/fixincludes/tests/base/string.h @@ -0,0 +1,13 @@ +/* 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 */ diff --git a/gcc-4.2.1-5666.3/fixincludes/tests/base/strings.h b/gcc-4.2.1-5666.3/fixincludes/tests/base/strings.h new file mode 100644 index 000000000..f17d3f811 --- /dev/null +++ b/gcc-4.2.1-5666.3/fixincludes/tests/base/strings.h @@ -0,0 +1,40 @@ +/* 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-4.2.1-5666.3/fixincludes/tests/base/sundev/vuid_event.h b/gcc-4.2.1-5666.3/fixincludes/tests/base/sundev/vuid_event.h new file mode 100644 index 000000000..0f35cb8ad --- /dev/null +++ b/gcc-4.2.1-5666.3/fixincludes/tests/base/sundev/vuid_event.h @@ -0,0 +1,14 @@ +/* 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-4.2.1-5666.3/fixincludes/tests/base/sunwindow/win_lock.h b/gcc-4.2.1-5666.3/fixincludes/tests/base/sunwindow/win_lock.h new file mode 100644 index 000000000..8cd0b19d1 --- /dev/null +++ b/gcc-4.2.1-5666.3/fixincludes/tests/base/sunwindow/win_lock.h @@ -0,0 +1,16 @@ +/* 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-4.2.1-5666.3/fixincludes/tests/base/sym.h b/gcc-4.2.1-5666.3/fixincludes/tests/base/sym.h new file mode 100644 index 000000000..0c811a3aa --- /dev/null +++ b/gcc-4.2.1-5666.3/fixincludes/tests/base/sym.h @@ -0,0 +1,16 @@ +/* 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-4.2.1-5666.3/fixincludes/tests/base/sys/asm.h b/gcc-4.2.1-5666.3/fixincludes/tests/base/sys/asm.h new file mode 100644 index 000000000..658830a7b --- /dev/null +++ b/gcc-4.2.1-5666.3/fixincludes/tests/base/sys/asm.h @@ -0,0 +1,14 @@ +/* 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-4.2.1-5666.3/fixincludes/tests/base/sys/cdefs.h b/gcc-4.2.1-5666.3/fixincludes/tests/base/sys/cdefs.h new file mode 100644 index 000000000..6ccd0b773 --- /dev/null +++ b/gcc-4.2.1-5666.3/fixincludes/tests/base/sys/cdefs.h @@ -0,0 +1,24 @@ +/* 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 +#endif /* FREEBSD_GCC3_BREAKAGE_CHECK */ + + +#if defined( FREEBSD_GCC4_BREAKAGE_CHECK ) +#if __GNUC__ == 2 && __GNUC_MINOR__ >= 7 || __GNUC__ >= 3 +#endif /* FREEBSD_GCC4_BREAKAGE_CHECK */ + + +#if defined( NETBSD_EXTRA_SEMICOLON_CHECK ) +#define __END_DECLS } +#endif /* NETBSD_EXTRA_SEMICOLON_CHECK */ diff --git a/gcc-4.2.1-5666.3/fixincludes/tests/base/sys/file.h b/gcc-4.2.1-5666.3/fixincludes/tests/base/sys/file.h new file mode 100644 index 000000000..c5016a48f --- /dev/null +++ b/gcc-4.2.1-5666.3/fixincludes/tests/base/sys/file.h @@ -0,0 +1,21 @@ +/* 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-4.2.1-5666.3/fixincludes/tests/base/sys/ioctl.h b/gcc-4.2.1-5666.3/fixincludes/tests/base/sys/ioctl.h new file mode 100644 index 000000000..8e260a571 --- /dev/null +++ b/gcc-4.2.1-5666.3/fixincludes/tests/base/sys/ioctl.h @@ -0,0 +1,15 @@ +/* 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-4.2.1-5666.3/fixincludes/tests/base/sys/limits.h b/gcc-4.2.1-5666.3/fixincludes/tests/base/sys/limits.h new file mode 100644 index 000000000..0ef2ff5ad --- /dev/null +++ b/gcc-4.2.1-5666.3/fixincludes/tests/base/sys/limits.h @@ -0,0 +1,29 @@ +/* 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( 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-4.2.1-5666.3/fixincludes/tests/base/sys/machine.h b/gcc-4.2.1-5666.3/fixincludes/tests/base/sys/machine.h new file mode 100644 index 000000000..a03741372 --- /dev/null +++ b/gcc-4.2.1-5666.3/fixincludes/tests/base/sys/machine.h @@ -0,0 +1,16 @@ +/* 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-4.2.1-5666.3/fixincludes/tests/base/sys/mman.h b/gcc-4.2.1-5666.3/fixincludes/tests/base/sys/mman.h new file mode 100644 index 000000000..8fa2fb18c --- /dev/null +++ b/gcc-4.2.1-5666.3/fixincludes/tests/base/sys/mman.h @@ -0,0 +1,25 @@ +/* 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-4.2.1-5666.3/fixincludes/tests/base/sys/pthread.h b/gcc-4.2.1-5666.3/fixincludes/tests/base/sys/pthread.h new file mode 100644 index 000000000..9948288d9 --- /dev/null +++ b/gcc-4.2.1-5666.3/fixincludes/tests/base/sys/pthread.h @@ -0,0 +1,22 @@ +/* DO NOT EDIT THIS FILE. + + It has been auto-edited by fixincludes from: + + "fixinc/tests/inc/sys/pthread.h" + + This had to be done to correct non-standard usages in the + original, manufacturer supplied header file. */ + + + +#if defined( HPUX_PTHREAD_INITIALIZERS_CHECK ) +#define PTHREAD_MUTEX_INITIALIZER { \ + { __PTHREAD_MUTEX_VALID, 0 }, \ + (PTHREAD_MUTEX_DEFAULT | PTHREAD_PROCESS_PRIVATE), \ + __SPNLCK_INITIALIZER, \ + { 0, 0, -1, 0 }, \ + { 0, __LWP_MTX_VALID }, { 0, 1, 1, 1, 1 }, \ + { 0, 0 } \ +} + +#endif /* HPUX_PTHREAD_INITIALIZERS_CHECK */ diff --git a/gcc-4.2.1-5666.3/fixincludes/tests/base/sys/regset.h b/gcc-4.2.1-5666.3/fixincludes/tests/base/sys/regset.h new file mode 100644 index 000000000..6723427e8 --- /dev/null +++ b/gcc-4.2.1-5666.3/fixincludes/tests/base/sys/regset.h @@ -0,0 +1,26 @@ +/* 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-4.2.1-5666.3/fixincludes/tests/base/sys/signal.h b/gcc-4.2.1-5666.3/fixincludes/tests/base/sys/signal.h new file mode 100644 index 000000000..7a9ecb113 --- /dev/null +++ b/gcc-4.2.1-5666.3/fixincludes/tests/base/sys/signal.h @@ -0,0 +1,30 @@ +/* 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-4.2.1-5666.3/fixincludes/tests/base/sys/socket.h b/gcc-4.2.1-5666.3/fixincludes/tests/base/sys/socket.h new file mode 100644 index 000000000..61b58a8bd --- /dev/null +++ b/gcc-4.2.1-5666.3/fixincludes/tests/base/sys/socket.h @@ -0,0 +1,44 @@ +/* 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( HPUX11_EXTERN_SENDFILE_CHECK ) +#ifndef _APP32_64BIT_OFF_T + extern sbsize_t sendfile __((int, int, off_t, bsize_t, + const struct iovec *, int)); +#endif + +#endif /* HPUX11_EXTERN_SENDFILE_CHECK */ + + +#if defined( HPUX11_EXTERN_SENDPATH_CHECK ) +#ifndef _APP32_64BIT_OFF_T + extern sbsize_t sendpath __((int, int, off_t, bsize_t, + const struct iovec *, int)); +#endif + +#endif /* HPUX11_EXTERN_SENDPATH_CHECK */ + + +#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-4.2.1-5666.3/fixincludes/tests/base/sys/spinlock.h b/gcc-4.2.1-5666.3/fixincludes/tests/base/sys/spinlock.h new file mode 100644 index 000000000..a25f65011 --- /dev/null +++ b/gcc-4.2.1-5666.3/fixincludes/tests/base/sys/spinlock.h @@ -0,0 +1,14 @@ +/* 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-4.2.1-5666.3/fixincludes/tests/base/sys/stat.h b/gcc-4.2.1-5666.3/fixincludes/tests/base/sys/stat.h new file mode 100644 index 000000000..c2b2fb6d5 --- /dev/null +++ b/gcc-4.2.1-5666.3/fixincludes/tests/base/sys/stat.h @@ -0,0 +1,68 @@ +/* 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-4.2.1-5666.3/fixincludes/tests/base/sys/time.h b/gcc-4.2.1-5666.3/fixincludes/tests/base/sys/time.h new file mode 100644 index 000000000..442118b0a --- /dev/null +++ b/gcc-4.2.1-5666.3/fixincludes/tests/base/sys/time.h @@ -0,0 +1,46 @@ +/* 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( LYNXOS_NO_WARNING_IN_SYS_TIME_H_CHECK ) + +#endif /* LYNXOS_NO_WARNING_IN_SYS_TIME_H_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-4.2.1-5666.3/fixincludes/tests/base/sys/times.h b/gcc-4.2.1-5666.3/fixincludes/tests/base/sys/times.h new file mode 100644 index 000000000..2de7d78aa --- /dev/null +++ b/gcc-4.2.1-5666.3/fixincludes/tests/base/sys/times.h @@ -0,0 +1,14 @@ +/* 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-4.2.1-5666.3/fixincludes/tests/base/sys/types.h b/gcc-4.2.1-5666.3/fixincludes/tests/base/sys/types.h new file mode 100644 index 000000000..683b5e93e --- /dev/null +++ b/gcc-4.2.1-5666.3/fixincludes/tests/base/sys/types.h @@ -0,0 +1,30 @@ +/* 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-4.2.1-5666.3/fixincludes/tests/base/sys/ucontext.h b/gcc-4.2.1-5666.3/fixincludes/tests/base/sys/ucontext.h new file mode 100644 index 000000000..6a873672d --- /dev/null +++ b/gcc-4.2.1-5666.3/fixincludes/tests/base/sys/ucontext.h @@ -0,0 +1,16 @@ +/* DO NOT EDIT THIS FILE. + + It has been auto-edited by fixincludes from: + + "fixinc/tests/inc/sys/ucontext.h" + + This had to be done to correct non-standard usages in the + original, manufacturer supplied header file. */ + + + +#if defined( LINUX_IA64_UCONTEXT_CHECK ) +# define _SC_GR0_OFFSET \ + __builtin_offsetof (struct sigcontext, sc_gr[0]) + +#endif /* LINUX_IA64_UCONTEXT_CHECK */ diff --git a/gcc-4.2.1-5666.3/fixincludes/tests/base/sys/utsname.h b/gcc-4.2.1-5666.3/fixincludes/tests/base/sys/utsname.h new file mode 100644 index 000000000..5f0641540 --- /dev/null +++ b/gcc-4.2.1-5666.3/fixincludes/tests/base/sys/utsname.h @@ -0,0 +1,16 @@ +/* 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-4.2.1-5666.3/fixincludes/tests/base/sys/wait.h b/gcc-4.2.1-5666.3/fixincludes/tests/base/sys/wait.h new file mode 100644 index 000000000..a0311c65d --- /dev/null +++ b/gcc-4.2.1-5666.3/fixincludes/tests/base/sys/wait.h @@ -0,0 +1,27 @@ +/* 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-4.2.1-5666.3/fixincludes/tests/base/testing.h b/gcc-4.2.1-5666.3/fixincludes/tests/base/testing.h new file mode 100644 index 000000000..88b931e8d --- /dev/null +++ b/gcc-4.2.1-5666.3/fixincludes/tests/base/testing.h @@ -0,0 +1,134 @@ +/* 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( WINDISS_VALIST_CHECK ) +#include <stdarg.h> +#endif /* WINDISS_VALIST_CHECK */ diff --git a/gcc-4.2.1-5666.3/fixincludes/tests/base/time.h b/gcc-4.2.1-5666.3/fixincludes/tests/base/time.h new file mode 100644 index 000000000..cf22e2014 --- /dev/null +++ b/gcc-4.2.1-5666.3/fixincludes/tests/base/time.h @@ -0,0 +1,27 @@ +/* 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-4.2.1-5666.3/fixincludes/tests/base/tinfo.h b/gcc-4.2.1-5666.3/fixincludes/tests/base/tinfo.h new file mode 100644 index 000000000..46bc611e4 --- /dev/null +++ b/gcc-4.2.1-5666.3/fixincludes/tests/base/tinfo.h @@ -0,0 +1,16 @@ +/* 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-4.2.1-5666.3/fixincludes/tests/base/types/vxTypesBase.h b/gcc-4.2.1-5666.3/fixincludes/tests/base/types/vxTypesBase.h new file mode 100644 index 000000000..76a9338d9 --- /dev/null +++ b/gcc-4.2.1-5666.3/fixincludes/tests/base/types/vxTypesBase.h @@ -0,0 +1,30 @@ +/* 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-4.2.1-5666.3/fixincludes/tests/base/unistd.h b/gcc-4.2.1-5666.3/fixincludes/tests/base/unistd.h new file mode 100644 index 000000000..98e8c34b8 --- /dev/null +++ b/gcc-4.2.1-5666.3/fixincludes/tests/base/unistd.h @@ -0,0 +1,33 @@ +/* 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-4.2.1-5666.3/fixincludes/tests/base/wchar.h b/gcc-4.2.1-5666.3/fixincludes/tests/base/wchar.h new file mode 100644 index 000000000..5c0b9dfe8 --- /dev/null +++ b/gcc-4.2.1-5666.3/fixincludes/tests/base/wchar.h @@ -0,0 +1,15 @@ +/* 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-4.2.1-5666.3/fixincludes/tests/base/widec.h b/gcc-4.2.1-5666.3/fixincludes/tests/base/widec.h new file mode 100644 index 000000000..e3c17fff7 --- /dev/null +++ b/gcc-4.2.1-5666.3/fixincludes/tests/base/widec.h @@ -0,0 +1,15 @@ +/* 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 */ |