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:
parent
1ed41b0720
commit
83333fe85b
3 changed files with 0 additions and 3 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue