File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -699,8 +699,6 @@ extern {
699
699
pub fn link ( src : * const c_char , dst : * const c_char ) -> :: c_int ;
700
700
pub fn lseek ( fd : :: c_int , offset : off_t , whence : :: c_int ) -> off_t ;
701
701
pub fn pathconf ( path : * const c_char , name : :: c_int ) -> c_long ;
702
- #[ cfg_attr( all( target_os = "macos" , target_arch = "x86" ) ,
703
- link_name = "pause$UNIX2003" ) ]
704
702
pub fn pipe ( fds : * mut :: c_int ) -> :: c_int ;
705
703
pub fn posix_memalign ( memptr : * mut * mut :: c_void ,
706
704
align : :: size_t ,
@@ -1106,6 +1104,8 @@ cfg_if! {
1106
1104
extern {
1107
1105
pub fn getsid( pid: pid_t) -> pid_t;
1108
1106
pub fn truncate( path: * const c_char, length: off_t) -> :: c_int;
1107
+ #[ cfg_attr( all( target_os = "macos" , target_arch = "x86" ) ,
1108
+ link_name = "pause$UNIX2003" ) ]
1109
1109
pub fn pause( ) -> :: c_int;
1110
1110
1111
1111
pub fn readlinkat( dirfd: :: c_int,
You can’t perform that action at this time.
0 commit comments