@@ -12,7 +12,7 @@ pub type rlim_t = u64;
12
12
#[ cfg( all( target_arch = "x86_64" , target_pointer_width = "32" ) ) ]
13
13
pub type __syscall_ulong_t = :: c_ulonglong ;
14
14
#[ cfg( not( all( target_arch = "x86_64" , target_pointer_width = "32" ) ) ) ]
15
- pub type __syscall_ulong_t = :: c_ulong ;
15
+ pub type __syscall_ulong_t = crate :: c_ulong ;
16
16
17
17
cfg_if ! {
18
18
if #[ cfg( all( target_arch = "aarch64" , target_pointer_width = "32" ) ) ] {
43
43
pub bufferram: u64 ,
44
44
pub totalswap: u64 ,
45
45
pub freeswap: u64 ,
46
- pub procs: :: c_ushort,
47
- pub pad: :: c_ushort,
46
+ pub procs: crate :: c_ushort,
47
+ pub pad: crate :: c_ushort,
48
48
pub totalhigh: u64 ,
49
49
pub freehigh: u64 ,
50
- pub mem_unit: :: c_uint,
51
- pub _f: [ :: c_char; 0 ] ,
50
+ pub mem_unit: crate :: c_uint,
51
+ pub _f: [ crate :: c_char; 0 ] ,
52
52
}
53
53
54
54
pub struct msqid_ds {
55
- pub msg_perm: :: ipc_perm,
56
- pub msg_stime: :: time_t,
57
- pub msg_rtime: :: time_t,
58
- pub msg_ctime: :: time_t,
55
+ pub msg_perm: crate :: ipc_perm,
56
+ pub msg_stime: crate :: time_t,
57
+ pub msg_rtime: crate :: time_t,
58
+ pub msg_ctime: crate :: time_t,
59
59
__msg_cbytes: u64 ,
60
- pub msg_qnum: :: msgqnum_t,
61
- pub msg_qbytes: :: msglen_t,
62
- pub msg_lspid: :: pid_t,
63
- pub msg_lrpid: :: pid_t,
60
+ pub msg_qnum: crate :: msgqnum_t,
61
+ pub msg_qbytes: crate :: msglen_t,
62
+ pub msg_lspid: crate :: pid_t,
63
+ pub msg_lrpid: crate :: pid_t,
64
64
__glibc_reserved4: u64 ,
65
65
__glibc_reserved5: u64 ,
66
66
}
67
67
68
68
pub struct semid_ds {
69
69
pub sem_perm: ipc_perm,
70
- pub sem_otime: :: time_t,
70
+ pub sem_otime: crate :: time_t,
71
71
#[ cfg( not( any(
72
72
target_arch = "aarch64" ,
73
73
target_arch = "loongarch64" ,
77
77
target_arch = "riscv64" ,
78
78
target_arch = "sparc64"
79
79
) ) ) ]
80
- __reserved: :: __syscall_ulong_t,
81
- pub sem_ctime: :: time_t,
80
+ __reserved: crate :: __syscall_ulong_t,
81
+ pub sem_ctime: crate :: time_t,
82
82
#[ cfg( not( any(
83
83
target_arch = "aarch64" ,
84
84
target_arch = "loongarch64" ,
88
88
target_arch = "riscv64" ,
89
89
target_arch = "sparc64"
90
90
) ) ) ]
91
- __reserved2: :: __syscall_ulong_t,
92
- pub sem_nsems: :: __syscall_ulong_t,
93
- __glibc_reserved3: :: __syscall_ulong_t,
94
- __glibc_reserved4: :: __syscall_ulong_t,
91
+ __reserved2: crate :: __syscall_ulong_t,
92
+ pub sem_nsems: crate :: __syscall_ulong_t,
93
+ __glibc_reserved3: crate :: __syscall_ulong_t,
94
+ __glibc_reserved4: crate :: __syscall_ulong_t,
95
95
}
96
96
}
97
97
98
98
pub const __SIZEOF_PTHREAD_RWLOCKATTR_T: usize = 8 ;
99
99
100
- pub const O_LARGEFILE : :: c_int = 0 ;
100
+ pub const O_LARGEFILE : crate :: c_int = 0 ;
101
101
102
102
cfg_if ! {
103
103
if #[ cfg( target_arch = "aarch64" ) ] {
0 commit comments