Skip to content

Commit c69f0b9

Browse files
committed
get rid of unnecessary configuration
1 parent cf29ee6 commit c69f0b9

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

src/unix/solaris/mod.rs

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1346,9 +1346,6 @@ extern {
13461346
buf: *mut ::c_char,
13471347
buflen: ::size_t,
13481348
result: *mut *mut ::group) -> ::c_int;
1349-
#[cfg_attr(all(target_os = "macos", target_arch = "x86"),
1350-
link_name = "sigaltstack$UNIX2003")]
1351-
#[cfg_attr(target_os = "netbsd", link_name = "__sigaltstack14")]
13521349
pub fn sigaltstack(ss: *const stack_t,
13531350
oss: *mut stack_t) -> ::c_int;
13541351
pub fn sem_close(sem: *mut sem_t) -> ::c_int;
@@ -1359,40 +1356,32 @@ extern {
13591356
buf: *mut ::c_char,
13601357
buflen: ::size_t,
13611358
result: *mut *mut ::group) -> ::c_int;
1362-
#[cfg_attr(all(target_os = "macos", target_arch = "x86"),
1363-
link_name = "pthread_sigmask$UNIX2003")]
13641359
pub fn pthread_sigmask(how: ::c_int, set: *const sigset_t,
13651360
oldset: *mut sigset_t) -> ::c_int;
13661361
pub fn sem_open(name: *const ::c_char, oflag: ::c_int, ...) -> *mut sem_t;
13671362
pub fn getgrnam(name: *const ::c_char) -> *mut ::group;
13681363
pub fn pthread_kill(thread: ::pthread_t, sig: ::c_int) -> ::c_int;
13691364
pub fn sem_unlink(name: *const ::c_char) -> ::c_int;
13701365
pub fn daemon(nochdir: ::c_int, noclose: ::c_int) -> ::c_int;
1371-
#[cfg_attr(target_os = "netbsd", link_name = "__getpwnam_r50")]
13721366
#[cfg_attr(target_os = "solaris", link_name = "__posix_getpwnam_r")]
13731367
pub fn getpwnam_r(name: *const ::c_char,
13741368
pwd: *mut passwd,
13751369
buf: *mut ::c_char,
13761370
buflen: ::size_t,
13771371
result: *mut *mut passwd) -> ::c_int;
1378-
#[cfg_attr(target_os = "netbsd", link_name = "__getpwuid_r50")]
13791372
#[cfg_attr(target_os = "solaris", link_name = "__posix_getpwuid_r")]
13801373
pub fn getpwuid_r(uid: ::uid_t,
13811374
pwd: *mut passwd,
13821375
buf: *mut ::c_char,
13831376
buflen: ::size_t,
13841377
result: *mut *mut passwd) -> ::c_int;
1385-
#[cfg_attr(all(target_os = "macos", target_arch ="x86"),
1386-
link_name = "sigwait$UNIX2003")]
13871378
#[cfg_attr(target_os = "solaris", link_name = "__posix_sigwait")]
13881379
pub fn sigwait(set: *const sigset_t,
13891380
sig: *mut ::c_int) -> ::c_int;
13901381
pub fn pthread_atfork(prepare: Option<unsafe extern fn()>,
13911382
parent: Option<unsafe extern fn()>,
13921383
child: Option<unsafe extern fn()>) -> ::c_int;
13931384
pub fn getgrgid(gid: ::gid_t) -> *mut ::group;
1394-
#[cfg_attr(all(target_os = "macos", target_arch = "x86"),
1395-
link_name = "popen$UNIX2003")]
13961385
pub fn popen(command: *const c_char,
13971386
mode: *const c_char) -> *mut ::FILE;
13981387
}

0 commit comments

Comments
 (0)