simple c99 compiler
git clone git://
Log | Files | Refs | README | LICENSE

commit 2e1f316f3b1fac90b10a89845ef59c171e4b6b9f
parent 196005901d83f15c784355cc17a628f1f39ae05f
Author: Roberto E. Vargas Caballero <>
Date:   Sat, 28 Aug 2021 11:34:54 +0200

libc: Fix external declaration of _exitf

_ATEXIT_MAX is defined in stdlib.h and not all the files
where libc.h is included have that definition. The best
option is just to omit the size of the array in the

Msrc/libc/libc.h | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/libc/libc.h b/src/libc/libc.h @@ -54,5 +54,5 @@ extern int _daysmon[12]; extern char *_tzname[2]; extern struct tzone tzones[]; -extern void (*_exitf[_ATEXIT_MAX])(void); +extern void (*_exitf[])(void); extern unsigned _exitn;