libstd: Fix a bunch of resolve errors in tests. rs=fire

This commit is contained in:
Patrick Walton
2012-12-27 18:24:18 -08:00
parent e26ca35b08
commit fa5ee934ed
24 changed files with 118 additions and 13 deletions

View File

@@ -152,7 +152,8 @@ pub unsafe fn ptr<T>(t: CVec<T>) -> *mut T {
#[cfg(test)]
mod tests {
use libc::*;
use core::libc::*;
use core::libc;
fn malloc(n: size_t) -> CVec<u8> {
let mem = libc::malloc(n);