File tree Expand file tree Collapse file tree 3 files changed +12
-8
lines changed Expand file tree Collapse file tree 3 files changed +12
-8
lines changed Original file line number Diff line number Diff line change @@ -58,3 +58,9 @@ pub const __PTHREAD_RWLOCKATTR_SIZE__: usize = 12;
58
58
59
59
pub const TIOCTIMESTAMP : :: c_ulong = 0x40087459 ;
60
60
pub const TIOCDCDTIMESTAMP : :: c_ulong = 0x40087458 ;
61
+
62
+ extern {
63
+ pub fn exchangedata ( path1 : * const :: c_char ,
64
+ path2 : * const :: c_char ,
65
+ options : :: c_ulong ) -> :: c_int ;
66
+ }
Original file line number Diff line number Diff line change @@ -63,3 +63,9 @@ pub const __PTHREAD_RWLOCKATTR_SIZE__: usize = 16;
63
63
64
64
pub const TIOCTIMESTAMP : :: c_ulong = 0x40107459 ;
65
65
pub const TIOCDCDTIMESTAMP : :: c_ulong = 0x40107458 ;
66
+
67
+ extern {
68
+ pub fn exchangedata ( path1 : * const :: c_char ,
69
+ path2 : * const :: c_char ,
70
+ options : :: c_uint ) -> :: c_int ;
71
+ }
Original file line number Diff line number Diff line change @@ -2471,14 +2471,6 @@ extern {
2471
2471
pub fn renameatx_np ( fromfd : :: c_int , from : * const :: c_char ,
2472
2472
tofd : :: c_int , to : * const :: c_char ,
2473
2473
flags : :: c_uint ) -> :: c_int ;
2474
- #[ cfg( target_arch = "x86" ) ]
2475
- pub fn exchangedata ( path1 : * const :: c_char ,
2476
- path2 : * const :: c_char ,
2477
- options : :: c_ulong ) -> :: c_int ;
2478
- #[ cfg( any( target_arch = "x86_64" , target_arch = "aarch64" ) ) ]
2479
- pub fn exchangedata ( path1 : * const :: c_char ,
2480
- path2 : * const :: c_char ,
2481
- options : :: c_uint ) -> :: c_int ;
2482
2474
pub fn fremovexattr ( filedes : :: c_int , name : * const :: c_char ,
2483
2475
flags : :: c_int ) -> :: c_int ;
2484
2476
You can’t perform that action at this time.
0 commit comments