stdlib: Fix some busted macos libc decls

This commit is contained in:
Brian Anderson 2011-11-22 15:34:53 -08:00
parent d0a2f00611
commit bb7750b8d0
1 changed files with 6 additions and 6 deletions

View File

@ -40,12 +40,12 @@ native mod libc {
type dirent;
fn readdir(d: dir) -> dirent;
fn getenv(n: str::sbuf) -> str::sbuf;
fn setenv(n: str::sbuf, v: str::sbuf, overwrite: int) -> int;
fn unsetenv(n: str::sbuf) -> int;
fn pipe(buf: *mutable int) -> int;
fn waitpid(pid: int, &status: int, options: int) -> int;
fn mkdir(s: str::sbuf, mode: int) -> int;
fn rmdir(s: str::sbuf) -> int;
fn setenv(n: str::sbuf, v: str::sbuf, overwrite: c_int) -> c_int;
fn unsetenv(n: str::sbuf) -> c_int;
fn pipe(buf: *mutable c_int) -> c_int;
fn waitpid(pid: int, &status: c_int, options: c_int) -> c_int;
fn mkdir(s: str::sbuf, mode: c_int) -> c_int;
fn rmdir(s: str::sbuf) -> c_int;
}
mod libc_constants {