@@ -2057,7 +2057,7 @@ pub mod consts {
2057
2057
pub static MAP_FIXED : c_int = 0x0010 ;
2058
2058
pub static MAP_ANON : c_int = 0x0020 ;
2059
2059
2060
- pub static MAP_FAILED : * c_void = -1 as * c_void ;
2060
+ pub static MAP_FAILED : * mut c_void = -1 as * mut c_void ;
2061
2061
2062
2062
pub static MCL_CURRENT : c_int = 0x0001 ;
2063
2063
pub static MCL_FUTURE : c_int = 0x0002 ;
@@ -2268,7 +2268,7 @@ pub mod consts {
2268
2268
pub static MAP_FIXED : c_int = 0x0010 ;
2269
2269
pub static MAP_ANON : c_int = 0x0800 ;
2270
2270
2271
- pub static MAP_FAILED : * c_void = -1 as * c_void ;
2271
+ pub static MAP_FAILED : * mut c_void = -1 as * mut c_void ;
2272
2272
2273
2273
pub static MCL_CURRENT : c_int = 0x0001 ;
2274
2274
pub static MCL_FUTURE : c_int = 0x0002 ;
@@ -2804,7 +2804,7 @@ pub mod consts {
2804
2804
pub static MAP_FIXED : c_int = 0x0010 ;
2805
2805
pub static MAP_ANON : c_int = 0x1000 ;
2806
2806
2807
- pub static MAP_FAILED : * c_void = -1 as * c_void ;
2807
+ pub static MAP_FAILED : * mut c_void = -1 as * mut c_void ;
2808
2808
2809
2809
pub static MCL_CURRENT : c_int = 0x0001 ;
2810
2810
pub static MCL_FUTURE : c_int = 0x0002 ;
@@ -3192,7 +3192,7 @@ pub mod consts {
3192
3192
pub static MAP_FIXED : c_int = 0x0010 ;
3193
3193
pub static MAP_ANON : c_int = 0x1000 ;
3194
3194
3195
- pub static MAP_FAILED : * c_void = -1 as * c_void ;
3195
+ pub static MAP_FAILED : * mut c_void = -1 as * mut c_void ;
3196
3196
3197
3197
pub static MCL_CURRENT : c_int = 0x0001 ;
3198
3198
pub static MCL_FUTURE : c_int = 0x0002 ;
@@ -3951,19 +3951,19 @@ pub mod funcs {
3951
3951
pub fn mlockall ( flags : c_int ) -> c_int ;
3952
3952
pub fn munlockall ( ) -> c_int ;
3953
3953
3954
- pub fn mmap ( addr : * c_void ,
3954
+ pub fn mmap ( addr : * mut c_void ,
3955
3955
len : size_t ,
3956
3956
prot : c_int ,
3957
3957
flags : c_int ,
3958
3958
fd : c_int ,
3959
3959
offset : off_t )
3960
3960
-> * mut c_void ;
3961
- pub fn munmap ( addr : * c_void , len : size_t ) -> c_int ;
3961
+ pub fn munmap ( addr : * mut c_void , len : size_t ) -> c_int ;
3962
3962
3963
- pub fn mprotect ( addr : * c_void , len : size_t , prot : c_int )
3963
+ pub fn mprotect ( addr : * mut c_void , len : size_t , prot : c_int )
3964
3964
-> c_int ;
3965
3965
3966
- pub fn msync ( addr : * c_void , len : size_t , flags : c_int )
3966
+ pub fn msync ( addr : * mut c_void , len : size_t , flags : c_int )
3967
3967
-> c_int ;
3968
3968
pub fn shm_open ( name : * c_char , oflag : c_int , mode : mode_t )
3969
3969
-> c_int ;
@@ -4208,9 +4208,9 @@ pub mod funcs {
4208
4208
4209
4209
extern {
4210
4210
pub fn getdtablesize ( ) -> c_int ;
4211
- pub fn madvise ( addr : * c_void , len : size_t , advice : c_int )
4211
+ pub fn madvise ( addr : * mut c_void , len : size_t , advice : c_int )
4212
4212
-> c_int ;
4213
- pub fn mincore ( addr : * c_void , len : size_t , vec : * c_uchar )
4213
+ pub fn mincore ( addr : * mut c_void , len : size_t , vec : * mut c_uchar )
4214
4214
-> c_int ;
4215
4215
}
4216
4216
}
0 commit comments