Rename __unused struct members to include a namespace
[uclibc-ng.git] / libc / sysdeps / linux / i386 / bits / kernel_stat.h
blobffe70cbf7efe18bff822424b7a635b95eebee74f
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 stat should look like... It turns out each arch has a
6 * different opinion on the subject... */
8 struct kernel_stat {
9 unsigned long st_dev;
10 unsigned long st_ino;
11 unsigned short st_mode;
12 unsigned short st_nlink;
13 unsigned short st_uid;
14 unsigned short st_gid;
15 unsigned short st_rdev;
16 unsigned short __pad2;
17 unsigned long st_size;
18 unsigned long st_blksize;
19 unsigned long st_blocks;
20 struct timespec st_atim;
21 struct timespec st_mtim;
22 struct timespec st_ctim;
23 unsigned long __uclibc_unused4;
24 unsigned long __uclibc_unused5;
27 struct kernel_stat64 {
28 unsigned long long st_dev;
29 unsigned char __pad0[4];
30 #define _HAVE_STAT64___ST_INO
31 unsigned long __st_ino;
32 unsigned int st_mode;
33 unsigned int st_nlink;
34 unsigned long st_uid;
35 unsigned long st_gid;
36 unsigned short st_rdev;
37 unsigned char __pad3[10];
38 long long st_size;
39 unsigned long st_blksize;
40 unsigned long st_blocks; /* Number 512-byte blocks allocated. */
41 unsigned long __pad4; /* future possible st_blocks high bits */
42 struct timespec st_atim;
43 struct timespec st_mtim;
44 struct timespec st_ctim;
45 unsigned long long st_ino;
48 #endif /* _BITS_STAT_STRUCT_H */