Fix function signature for free to return void

free expects a return type void* but it should return void instead of void*
This commit is contained in:
Darvis
2026-01-16 12:56:58 +05:30
committed by Christoffer Lerno
parent c0f1b02d0b
commit 2a8fbb8fec

View File

@@ -100,7 +100,7 @@ extern fn CInt fprintf(CFile stream, ZString format, ...);
extern fn CInt fputc(CInt c, CFile stream);
extern fn CInt fputs(ZString string, CFile stream);
extern fn usz fread(void* ptr, usz size, usz nmemb, CFile stream);
extern fn void* free(void*);
extern fn void free(void*);
extern fn CFile freopen(ZString filename, ZString mode, CFile stream);
extern fn CInt fscanf(CFile stream, ZString format, ...);
extern fn CInt fseek(CFile stream, SeekIndex offset, CInt whence) @if(!env::WIN32);