Rename __unused struct members to include a namespace
[uclibc-ng.git] / libc / sysdeps / linux / powerpc / bits / kernel_stat.h
blobce62b2ba20ae1f23cc1fc33394793bad915fcd8d
1 #ifndef _BITS_STAT_STRUCT_H
2 #define _BITS_STAT_STRUCT_H
4 /* This file provides whatever this particular arch's kernel thinks
5 * struct kernel_stat should look like... It turns out each arch has a
6 * different opinion on the subject... */
8 #if __WORDSIZE == 64
9 #define kernel_stat kernel_stat64
10 #else
11 struct kernel_stat {
12 __kernel_dev_t st_dev;
13 __kernel_ino_t st_ino;
14 __kernel_mode_t st_mode;
15 __kernel_nlink_t st_nlink;
16 __kernel_uid_t st_uid;
17 __kernel_gid_t st_gid;
18 __kernel_dev_t st_rdev;
19 __kernel_off_t st_size;
20 unsigned long st_blksize;
21 unsigned long st_blocks;
22 struct timespec st_atim;
23 struct timespec st_mtim;
24 struct timespec st_ctim;
25 unsigned long __unused4;
26 unsigned long __unused5;
28 #endif
30 struct kernel_stat64 {
31 unsigned long long st_dev; /* Device. */
32 unsigned long long st_ino; /* File serial number. */
33 unsigned int st_mode; /* File mode. */
34 unsigned int st_nlink; /* Link count. */
35 unsigned int st_uid; /* User ID of the file's owner. */
36 unsigned int st_gid; /* Group ID of the file's group. */
37 unsigned long long st_rdev; /* Device number, if device. */
38 unsigned short int __pad2;
39 long long st_size; /* Size of file, in bytes. */
40 long st_blksize; /* Optimal block size for I/O. */
41 long long st_blocks; /* Number 512-byte blocks allocated. */
42 struct timespec st_atim; /* Time of last access. */
43 struct timespec st_mtim; /* Time of last modification. */
44 struct timespec st_ctim; /* Time of last status change. */
45 unsigned long int __uclibc_unused4;
46 unsigned long int __uclibc_unused5;
49 #endif /* _BITS_STAT_STRUCT_H */