mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-08 09:38:26 +03:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user