cb3790cb4e
* inclhack.def (glibc_c99_inline_1): Define __USE_EXTERN_INLINES if __extern_inline or __GNUC_GNU_INLINE__ is defined rather than __STDC_VERSION__ < 199901L. (glibc_c99_inline_2): Replace #if __STDC_VERSION__ < 199901L with #ifdef __GNUC_GNU_INLINE__. (glibc_c99_inline_3): Add select. Replace __STDC_VERSION__ >= 199901L with defined(__GNUC_STDC_INLINE__). (glibc_c99_inline_4): Change select, add second c_fix_arg. Replace #if __STDC_VERSION__ < 199901L with #ifdef __GNUC_GNU_INLINE__. * fixincl.x: Regenerated. * tests/base/bits/string2.h: Update. * tests/base/sys/sysmacros.h: Update. * tests/base/sys/stat.h: Update. From-SVN: r123216
83 lines
1.7 KiB
C
83 lines
1.7 KiB
C
/* 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( GLIBC_C99_INLINE_2_CHECK )
|
|
#ifdef __GNUC_GNU_INLINE__
|
|
extern
|
|
#endif
|
|
__inline__ int fstat64 (int __fd, struct stat64 *__buf) __THROW __nonnull ((2));
|
|
#ifdef __GNUC_GNU_INLINE__
|
|
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 */
|
|
|
|
|
|
#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 */
|