From dddbdcbeb41777c1e98e37281dddd6f3c89a1280 Mon Sep 17 00:00:00 2001 From: lemon Date: Mon, 8 Aug 2022 19:31:35 +0200 Subject: ok --- src/libc.hff | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'src/libc.hff') 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; -- cgit v1.2.3