summary refs log tree commit diff
path: root/src/libstd/num
diff options
context:
space:
mode:
authorSteve Klabnik <steve@steveklabnik.com>2013-10-14 14:33:05 +0200
committerSteve Klabnik <steve@steveklabnik.com>2013-10-14 14:33:05 +0200
commit309ab958e6cf78caf188f6dcbf9ce35d9ba62468 (patch)
tree449d98d106e395070eebc5252a6cd341430fb41c /src/libstd/num
parent16fc6a694cac35ce962e98e180354cbce6a72f54 (diff)
downloadrust-309ab958e6cf78caf188f6dcbf9ce35d9ba62468.tar.gz
rust-309ab958e6cf78caf188f6dcbf9ce35d9ba62468.zip
Removing ccdecl
as per https://github.com/mozilla/rust/pull/9606#discussion_r6930872
Diffstat (limited to 'src/libstd/num')
-rw-r--r--src/libstd/num/cmath.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/num/cmath.rs b/src/libstd/num/cmath.rs
index aed3601060b..72051a93398 100644
--- a/src/libstd/num/cmath.rs
+++ b/src/libstd/num/cmath.rs
@@ -18,7 +18,7 @@ pub mod c_double_utils {
     use libc::{c_double, c_int};
 
     #[link_name = "m"]
-    extern "cdecl" {
+    extern {
         // Alpabetically sorted by link_name
 
         pub fn acos(n: c_double) -> c_double;
@@ -106,7 +106,7 @@ pub mod c_float_utils {
     use libc::{c_float, c_int};
 
     #[link_name = "m"]
-    extern "cdecl" {
+    extern {
         // Alpabetically sorted by link_name
 
         #[link_name="acosf"]