@@ -3246,15 +3246,15 @@ extern "C" {
3246
3246
#[ link_name = "nsendmsg" ]
3247
3247
pub fn sendmsg ( sockfd : c_int , msg : * const msghdr , flags : c_int ) -> ssize_t ;
3248
3248
pub fn setcontext ( ucp : * const ucontext_t ) -> c_int ;
3249
- pub fn setdomainname ( name : * mut c_char , len : c_int ) -> c_int ;
3250
- pub fn setgroups ( ngroups : c_int , ptr : * mut crate :: gid_t ) -> c_int ;
3249
+ pub fn setdomainname ( name : * const c_char , len : c_int ) -> c_int ;
3250
+ pub fn setgroups ( ngroups : c_int , ptr : * const crate :: gid_t ) -> c_int ;
3251
3251
pub fn setgrent ( ) ;
3252
3252
pub fn setmntent ( filename : * const c_char , ty : * const c_char ) -> * mut crate :: FILE ;
3253
3253
pub fn setpriority ( which : c_int , who : id_t , priority : c_int ) -> c_int ;
3254
3254
pub fn setpwent ( ) ;
3255
3255
pub fn setrlimit ( resource : c_int , rlim : * const crate :: rlimit ) -> c_int ;
3256
3256
pub fn setrlimit64 ( resource : c_int , rlim : * const rlimit64 ) -> c_int ;
3257
- pub fn settimeofday ( tv : * mut crate :: timeval , tz : * mut crate :: timezone ) -> c_int ;
3257
+ pub fn settimeofday ( tv : * const crate :: timeval , tz : * const crate :: timezone ) -> c_int ;
3258
3258
pub fn setitimer (
3259
3259
which : c_int ,
3260
3260
new_value : * const crate :: itimerval ,
@@ -3281,10 +3281,10 @@ extern "C" {
3281
3281
pub fn srand48 ( seed : c_long ) ;
3282
3282
pub fn stat64 ( path : * const c_char , buf : * mut stat64 ) -> c_int ;
3283
3283
pub fn stat64at ( dirfd : c_int , path : * const c_char , buf : * mut stat64 , flags : c_int ) -> c_int ;
3284
- pub fn statfs ( path : * mut c_char , buf : * mut statfs ) -> c_int ;
3285
- pub fn statfs64 ( path : * mut c_char , buf : * mut statfs64 ) -> c_int ;
3284
+ pub fn statfs ( path : * const c_char , buf : * mut statfs ) -> c_int ;
3285
+ pub fn statfs64 ( path : * const c_char , buf : * mut statfs64 ) -> c_int ;
3286
3286
pub fn statvfs64 ( path : * const c_char , buf : * mut statvfs64 ) -> c_int ;
3287
- pub fn statx ( path : * mut c_char , buf : * mut stat , length : c_int , command : c_int ) -> c_int ;
3287
+ pub fn statx ( path : * const c_char , buf : * mut stat , length : c_int , command : c_int ) -> c_int ;
3288
3288
pub fn strcasecmp_l (
3289
3289
string1 : * const c_char ,
3290
3290
string2 : * const c_char ,
@@ -3306,8 +3306,8 @@ extern "C" {
3306
3306
pub fn strptime ( s : * const c_char , format : * const c_char , tm : * mut crate :: tm ) -> * mut c_char ;
3307
3307
pub fn strsep ( string : * mut * mut c_char , delim : * const c_char ) -> * mut c_char ;
3308
3308
pub fn swapcontext ( uocp : * mut ucontext_t , ucp : * const ucontext_t ) -> c_int ;
3309
- pub fn swapoff ( puath : * mut c_char ) -> c_int ;
3310
- pub fn swapon ( path : * mut c_char ) -> c_int ;
3309
+ pub fn swapoff ( path : * const c_char ) -> c_int ;
3310
+ pub fn swapon ( path : * const c_char ) -> c_int ;
3311
3311
pub fn sync ( ) ;
3312
3312
pub fn telldir ( dirp : * mut crate :: DIR ) -> c_long ;
3313
3313
pub fn timer_create (
@@ -3328,7 +3328,7 @@ extern "C" {
3328
3328
pub fn uname ( buf : * mut crate :: utsname ) -> c_int ;
3329
3329
pub fn updwtmp ( file : * const c_char , u : * const utmp ) ;
3330
3330
pub fn uselocale ( loc : crate :: locale_t ) -> crate :: locale_t ;
3331
- pub fn utmpname ( file : * mut c_char ) -> c_int ;
3331
+ pub fn utmpname ( file : * const c_char ) -> c_int ;
3332
3332
pub fn utimensat (
3333
3333
dirfd : c_int ,
3334
3334
path : * const c_char ,
0 commit comments