scc

simple c99 compiler
git clone git://git.simple-cc.org/scc
Log | Files | Refs | Submodules | README | LICENSE

commit 0c7caf3ca5e62e439ae09d423ac985a11b2d31e4
parent d0add4c2762dac988c4ec40781550a73dbd6acf6
Author: Roberto E. Vargas Caballero <roberto.vargas@midokura.com>
Date:   Tue, 16 Aug 2022 12:18:53 +0200

libc: Add prototype for assert()

Assert() has a fallback function but it lacked a prototype.

Diffstat:
Minclude/assert.h | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/include/assert.h b/include/assert.h @@ -1,4 +1,5 @@ extern void __assert(char *, char *, long); +extern void assert(int); #undef assert #ifndef NDEBUG