aboutsummaryrefslogtreecommitdiff
path: root/src/libc.hff
diff options
context:
space:
mode:
Diffstat (limited to 'src/libc.hff')
-rw-r--r--src/libc.hff10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/libc.hff b/src/libc.hff
index 98a6f3c..f06f4dd 100644
--- a/src/libc.hff
+++ b/src/libc.hff
@@ -1,7 +1,11 @@
! stdio.h
struct FILE;
-extern static stdin FILE,
- stdout FILE,
- stderr FILE;
+extern static stdin *FILE,
+ stdout *FILE,
+ stderr *FILE;
extern fn printf(fmt *const u8, ...) void;
extern fn fprintf(fp *FILE, fmt *const u8, ...) void;
+
+! stdlib.h
+extern fn abort() void;
+extern fn exit(c int) void;