diff options
| author | 2022-08-08 19:31:35 +0200 | |
|---|---|---|
| committer | 2022-08-08 19:31:35 +0200 | |
| commit | dddbdcbeb41777c1e98e37281dddd6f3c89a1280 (patch) | |
| tree | 6c172f13a3d7d92bc31b8a045d81b7fa7caad007 /src/libc.hff | |
| parent | fc55daf22dd890860ac9c1a0a29900977a700df2 (diff) | |
ok
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; |