about summary refs log tree commit diff
path: root/src/libcore/cmath.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/libcore/cmath.rs')
-rw-r--r--src/libcore/cmath.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libcore/cmath.rs b/src/libcore/cmath.rs
index fbb434d8e4b..de611ab2c0a 100644
--- a/src/libcore/cmath.rs
+++ b/src/libcore/cmath.rs
@@ -17,7 +17,7 @@ import libc::c_double;
 
 #[link_name = "m"]
 #[abi = "cdecl"]
-native mod c_double {
+extern mod c_double {
 
     // Alpabetically sorted by link_name
 
@@ -95,7 +95,7 @@ native mod c_double {
 
 #[link_name = "m"]
 #[abi = "cdecl"]
-native mod c_float {
+extern mod c_float {
 
     // Alpabetically sorted by link_name