Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use now available link name "signal" instead of "bsd_signal" #237

Merged
merged 2 commits into from
Apr 7, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions libc-test/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -385,12 +385,6 @@ fn main() {

cfg.skip_fn_ptrcheck(move |name| {
match name {
// This used to be called bsd_signal in rev 18 of the android
// platform and is now just called signal, the old `bsd_signal`
// symbol, however, still remains, just gives a different function
// pointer.
"signal" if android => true,

// dllimport weirdness?
_ if windows => true,

Expand Down
1 change: 0 additions & 1 deletion src/unix/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,6 @@ extern {

pub fn ftruncate(fd: ::c_int, length: off_t) -> ::c_int;

#[cfg_attr(target_os = "android", link_name = "bsd_signal")]
pub fn signal(signum: ::c_int, handler: sighandler_t) -> sighandler_t;

#[cfg_attr(all(target_os = "macos", target_arch = "x86"),
Expand Down