Remove unused #[link_name = "m"] attributes

These were perhaps supposed to be `#[link(name = "m")]` but linking libm should be handled by the libc crate anyway.
This commit is contained in:
Oliver Middleton 2020-01-03 23:41:11 +00:00
parent 1ed41b0720
commit 83333fe85b
3 changed files with 0 additions and 3 deletions

View file

@ -2,7 +2,6 @@
use libc::{c_double, c_float};
#[link_name = "m"]
extern "C" {
pub fn acos(n: c_double) -> c_double;
pub fn acosf(n: c_float) -> c_float;

View file

@ -2,7 +2,6 @@
use libc::{c_double, c_float};
#[link_name = "m"]
extern "C" {
pub fn acos(n: c_double) -> c_double;
pub fn acosf(n: c_float) -> c_float;

View file

@ -2,7 +2,6 @@
use libc::{c_double, c_float};
#[link_name = "m"]
extern "C" {
pub fn acos(n: c_double) -> c_double;
pub fn asin(n: c_double) -> c_double;