diff options
Diffstat (limited to 'src/libc.hff')
| -rw-r--r-- | src/libc.hff | 10 |
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; |