correct signed-ness and long line
This commit is contained in:
parent
037a1de405
commit
2b8cf89ba2
1 changed files with 1 additions and 1 deletions
|
|
@ -8,7 +8,7 @@ native mod libc {
|
|||
fn fread(buf: *u8, size: size_t, n: size_t, f: libc::FILE) -> size_t;
|
||||
fn fwrite(buf: *u8, size: size_t, n: size_t, f: libc::FILE) -> size_t;
|
||||
#[link_name = "_open"]
|
||||
fn open(s: str::sbuf, flags: c_int, mode: c_int) -> c_int;
|
||||
fn open(s: str::sbuf, flags: c_int, mode: unsigned) -> c_int;
|
||||
#[link_name = "_close"]
|
||||
fn close(fd: fd_t) -> c_int;
|
||||
type FILE;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue