mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
Remove LLVM 14 support. Simplify ABI lowering.
This commit is contained in:
committed by
Christoffer Lerno
parent
124a18a486
commit
539d733ceb
@@ -46,7 +46,7 @@ extern fn CULong stroul(char* str, char** endptr, int base);
|
||||
extern fn void abort();
|
||||
extern fn void atexit(TerminateFunction f);
|
||||
extern fn void exit(int status);
|
||||
extern fn char* getenv(char* name);
|
||||
extern fn ZString getenv(char* name);
|
||||
extern fn int system(char* str);
|
||||
extern fn void bsearch(void* key, void *base, usz items, usz size, CompareFunction compare);
|
||||
extern fn void qsort(void* base, usz items, usz size, CompareFunction compare);
|
||||
@@ -348,9 +348,9 @@ const CLOCKS_PER_SEC = 1000000;
|
||||
define Time = long;
|
||||
define Clock = ulong;
|
||||
|
||||
extern fn char* asctime(Tm *timeptr);
|
||||
extern fn ZString asctime(Tm *timeptr);
|
||||
extern fn Clock clock();
|
||||
extern fn char* ctime(Time *timer);
|
||||
extern fn ZString ctime(Time *timer);
|
||||
extern fn double difftime(Time time1, Time time2);
|
||||
extern fn Tm* gmtime(Time *timer);
|
||||
extern fn Tm* localtime(Time *timer);
|
||||
|
||||
Reference in New Issue
Block a user