OSDN Git Service

51fe835d3a63bc0650b8bee255aca6432e39f8fa
[pf3gnuchains/gcc-fork.git] / fixincludes / tests / base / sys / stat.h
1 /*  DO NOT EDIT THIS FILE.
2
3     It has been auto-edited by fixincludes from:
4
5         "fixinc/tests/inc/sys/stat.h"
6
7     This had to be done to correct non-standard usages in the
8     original, manufacturer supplied header file.  */
9
10
11
12 #if defined( ALPHA___EXTERN_PREFIX_SYS_STAT_CHECK )
13 #   if defined(__DECC) || defined(__PRAGMA_EXTERN_PREFIX)
14 #endif  /* ALPHA___EXTERN_PREFIX_SYS_STAT_CHECK */
15
16
17 #if defined( GLIBC_C99_INLINE_2_CHECK )
18 #if __STDC_VERSION__ < 199901L
19 extern
20 #endif
21 __inline__ int fstat64 (int __fd, struct stat64 *__buf) __THROW __nonnull ((2));
22 #if __STDC_VERSION__ < 199901L
23 extern
24 #endif
25 __inline__ int
26 __NTH (fstat64 (int __fd, struct stat64 *__statbuf))
27 {}
28 #endif  /* GLIBC_C99_INLINE_2_CHECK */
29
30
31 #if defined( RS6000_FCHMOD_CHECK )
32 extern int fchmod(int, mode_t);
33 #endif  /* RS6000_FCHMOD_CHECK */
34
35
36 #if defined( SCO_STATIC_FUNC_CHECK )
37 #ifdef __STDC__
38 #if __cplusplus
39 extern "C" {
40 #endif /* __cplusplus */
41 static int      stat(const char *__f, struct stat *__p) {
42         return __stat32(__f, __p);
43 }
44 #if __cplusplus
45  }
46 #endif /* __cplusplus */
47
48 #  else /* !__STDC__ THIS FAILS ON BSD SYSTEMS */
49 #if __cplusplus
50 extern "C" {
51 #endif /* __cplusplus */
52 static int      stat(__f, __p)
53         char *__f;
54         struct stat *__p;
55 {
56         return __stat32(__f, __p);
57 }
58 #if __cplusplus
59  }
60 #endif /* __cplusplus */
61 #endif
62 #endif  /* SCO_STATIC_FUNC_CHECK */
63
64
65 #if defined( ULTRIX_STAT_CHECK )
66 @(#)stat.h      6.1     (ULTRIX)
67 #define S_IFPORT S_IFIFO
68
69 /* macro to test for symbolic link */
70 #define S_ISLNK(mode) (((mode) & S_IFMT) == S_IFLNK)
71
72         fstat(),
73         lstat(),
74 /* THE INSERTION LINE FAILS ON BSD SYSTEMS */
75 #endif  /* ULTRIX_STAT_CHECK */
76
77
78 #if defined( VXWORKS_NEEDS_VXWORKS_CHECK )
79 #include </dev/null> /* ULONG */
80 # define        __INCstath <sys/stat.h>
81 #include <types/vxTypesOld.h>
82 #endif  /* VXWORKS_NEEDS_VXWORKS_CHECK */