about summary refs log tree commit diff
path: root/example/alloc_example.rs
diff options
context:
space:
mode:
Diffstat (limited to 'example/alloc_example.rs')
-rw-r--r--example/alloc_example.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/example/alloc_example.rs b/example/alloc_example.rs
index 20a8642cbd1..f75103c76a5 100644
--- a/example/alloc_example.rs
+++ b/example/alloc_example.rs
@@ -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]