mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
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:
committed by
Christoffer Lerno
parent
c0f1b02d0b
commit
2a8fbb8fec
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user