diff options
| author | Steve Klabnik <steve@steveklabnik.com> | 2013-09-29 07:46:26 -0700 |
|---|---|---|
| committer | Steve Klabnik <steve@steveklabnik.com> | 2013-10-14 13:10:36 +0200 |
| commit | 16fc6a694cac35ce962e98e180354cbce6a72f54 (patch) | |
| tree | 20b5933785ac3aea831240447058df93be33ff1a /src/libstd/num | |
| parent | 5b10781c7b95a182da7c85af80a706f4ca7a4b65 (diff) | |
| download | rust-16fc6a694cac35ce962e98e180354cbce6a72f54.tar.gz rust-16fc6a694cac35ce962e98e180354cbce6a72f54.zip | |
Remove unused abi attributes.
They've been replaced by putting the name on the extern block.
#[abi = "foo"]
goes to
extern "foo" { }
Closes #9483.
Diffstat (limited to 'src/libstd/num')
| -rw-r--r-- | src/libstd/num/cmath.rs | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/libstd/num/cmath.rs b/src/libstd/num/cmath.rs index 0c515538266..aed3601060b 100644 --- a/src/libstd/num/cmath.rs +++ b/src/libstd/num/cmath.rs @@ -18,8 +18,7 @@ pub mod c_double_utils { use libc::{c_double, c_int}; #[link_name = "m"] - #[abi = "cdecl"] - extern { + extern "cdecl" { // Alpabetically sorted by link_name pub fn acos(n: c_double) -> c_double; @@ -107,8 +106,7 @@ pub mod c_float_utils { use libc::{c_float, c_int}; #[link_name = "m"] - #[abi = "cdecl"] - extern { + extern "cdecl" { // Alpabetically sorted by link_name #[link_name="acosf"] |
