From 16fc6a694cac35ce962e98e180354cbce6a72f54 Mon Sep 17 00:00:00 2001 From: Steve Klabnik Date: Sun, 29 Sep 2013 07:46:26 -0700 Subject: Remove unused abi attributes. They've been replaced by putting the name on the extern block. #[abi = "foo"] goes to extern "foo" { } Closes #9483. --- src/libstd/num/cmath.rs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/libstd/num') 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"] -- cgit 1.4.1-3-g733a5