File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ mod libc {
32
32
iov_len : size_t ,
33
33
}
34
34
35
- extern {
35
+ extern "system" {
36
36
/// Read data from fd into multiple buffers
37
37
pub fn readv ( fd : c_int , iov : * mut iovec , iovcnt : c_int ) -> ssize_t ;
38
38
/// Write data from multiple buffers to fd
Original file line number Diff line number Diff line change @@ -9,12 +9,12 @@ use std::libc::{c_int, c_char};
9
9
// Link with libosxfuse on OS X
10
10
#[ cfg( target_os = "macos" ) ]
11
11
#[ link_args = "-losxfuse" ]
12
- extern { }
12
+ extern "system" { }
13
13
14
14
// Link with libfuse on Linux
15
15
#[ cfg( target_os = "linux" ) ]
16
16
#[ link_args = "-lfuse" ]
17
- extern { }
17
+ extern "system" { }
18
18
19
19
/*
20
20
* FUSE arguments (see fuse_opt.h for details)
@@ -30,7 +30,7 @@ pub struct fuse_args {
30
30
* FUSE common (see fuse_common_compat.h for details)
31
31
*/
32
32
33
- extern {
33
+ extern "system" {
34
34
pub fn fuse_mount_compat25 ( mountpoint : * c_char , args : * fuse_args ) -> c_int ;
35
35
pub fn fuse_unmount_compat22 ( mountpoint : * c_char ) ;
36
36
}
You can’t perform that action at this time.
0 commit comments