aboutsummaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorBrian Anderson <[email protected]>2011-05-13 13:51:13 -0400
committerBrian Anderson <[email protected]>2011-05-13 13:55:57 -0400
commitc124404d0e1c8ce922a702661175495a65af1ea8 (patch)
tree4636da1809488aa322f87f47b99456c53004c9f3 /src/lib
parentrustc: Make typeck::instantiate_path() not return an annotation (diff)
downloadrust-c124404d0e1c8ce922a702661175495a65af1ea8.tar.xz
rust-c124404d0e1c8ce922a702661175495a65af1ea8.zip
Fix naming of libc that was mangled by recent module changes
It doesn't appear that rustc makes use of these strings so it didn't actually break anything yet.
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/linux_os.rs2
-rw-r--r--src/lib/macos_os.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/linux_os.rs b/src/lib/linux_os.rs
index 3b074e41..2a8921e3 100644
--- a/src/lib/linux_os.rs
+++ b/src/lib/linux_os.rs
@@ -4,7 +4,7 @@ import _vec::vbuf;
// FIXME Somehow merge stuff duplicated here and macosx_os.rs. Made difficult
// by https://github.com/graydon/rust/issues#issue/268
-native mod libc = "libc::so.6" {
+native mod libc = "libc.so.6" {
fn open(sbuf s, int flags, uint mode) -> int;
fn read(int fd, vbuf buf, uint count) -> int;
diff --git a/src/lib/macos_os.rs b/src/lib/macos_os.rs
index 2ad89319..04a143b8 100644
--- a/src/lib/macos_os.rs
+++ b/src/lib/macos_os.rs
@@ -1,7 +1,7 @@
import _str::sbuf;
import _vec::vbuf;
-native mod libc = "libc::dylib" {
+native mod libc = "libc.dylib" {
fn open(sbuf s, int flags, uint mode) -> int;
fn read(int fd, vbuf buf, uint count) -> int;