Use the correct return type for puts
This commit is contained in:
parent
9f602bf4da
commit
51d07790df
3 changed files with 3 additions and 3 deletions
|
@ -13,7 +13,7 @@ static ALLOC: System = System;
|
|||
|
||||
#[link(name = "c")]
|
||||
extern "C" {
|
||||
fn puts(s: *const u8);
|
||||
fn puts(s: *const u8) -> i32;
|
||||
}
|
||||
|
||||
#[panic_handler]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue