diff --git a/libc-test/build.rs b/libc-test/build.rs index 06cdfe88..1685d22b 100644 --- a/libc-test/build.rs +++ b/libc-test/build.rs @@ -397,12 +397,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, diff --git a/src/unix/mod.rs b/src/unix/mod.rs index a62ec74a..de996b65 100644 --- a/src/unix/mod.rs +++ b/src/unix/mod.rs @@ -411,7 +411,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"),