diff options
Diffstat (limited to 'fixincludes/tests')
-rw-r--r-- | fixincludes/tests/base/bits/string2.h | 18 | ||||
-rw-r--r-- | fixincludes/tests/base/sys/stat.h | 14 | ||||
-rw-r--r-- | fixincludes/tests/base/sys/sysmacros.h | 18 |
3 files changed, 50 insertions, 0 deletions
diff --git a/fixincludes/tests/base/bits/string2.h b/fixincludes/tests/base/bits/string2.h new file mode 100644 index 00000000000..0d37faaad69 --- /dev/null +++ b/fixincludes/tests/base/bits/string2.h @@ -0,0 +1,18 @@ +/* DO NOT EDIT THIS FILE. + + It has been auto-edited by fixincludes from: + + "fixinc/tests/inc/bits/string2.h" + + This had to be done to correct non-standard usages in the + original, manufacturer supplied header file. */ + + + +#if defined( GLIBC_C99_INLINE_3_CHECK ) +# if defined(__cplusplus) || __STDC_VERSION__ >= 19901L +# define __STRING_INLINE inline +# else +# define __STRING_INLINE extern __inline +# endif +#endif /* GLIBC_C99_INLINE_3_CHECK */ diff --git a/fixincludes/tests/base/sys/stat.h b/fixincludes/tests/base/sys/stat.h index c2b2fb6d564..51fe835d3a6 100644 --- a/fixincludes/tests/base/sys/stat.h +++ b/fixincludes/tests/base/sys/stat.h @@ -14,6 +14,20 @@ #endif /* ALPHA___EXTERN_PREFIX_SYS_STAT_CHECK */ +#if defined( GLIBC_C99_INLINE_2_CHECK ) +#if __STDC_VERSION__ < 199901L +extern +#endif +__inline__ int fstat64 (int __fd, struct stat64 *__buf) __THROW __nonnull ((2)); +#if __STDC_VERSION__ < 199901L +extern +#endif +__inline__ int +__NTH (fstat64 (int __fd, struct stat64 *__statbuf)) +{} +#endif /* GLIBC_C99_INLINE_2_CHECK */ + + #if defined( RS6000_FCHMOD_CHECK ) extern int fchmod(int, mode_t); #endif /* RS6000_FCHMOD_CHECK */ diff --git a/fixincludes/tests/base/sys/sysmacros.h b/fixincludes/tests/base/sys/sysmacros.h new file mode 100644 index 00000000000..6891a675006 --- /dev/null +++ b/fixincludes/tests/base/sys/sysmacros.h @@ -0,0 +1,18 @@ +/* DO NOT EDIT THIS FILE. + + It has been auto-edited by fixincludes from: + + "fixinc/tests/inc/sys/sysmacros.h" + + This had to be done to correct non-standard usages in the + original, manufacturer supplied header file. */ + + + +#if defined( GLIBC_C99_INLINE_4_CHECK ) +__extension__ +#if __STDC_VERSION__ < 19901L +extern +#endif + __inline unsigned int +#endif /* GLIBC_C99_INLINE_4_CHECK */ |