scc

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

commit 2d7e2de4bc36041ce62ca73cb4b11295a2271eae
parent 91a85e0d7900626ac7f1591145781db56c07f083
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Wed,  6 Dec 2017 20:32:56 +0100

[lib/c] Add getenv() to the arch primitive list

Diffstat:
Mlib/c/src/syscall.h | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/lib/c/src/syscall.h b/lib/c/src/syscall.h @@ -7,3 +7,4 @@ extern int _lseek(int fd, long off, int whence); extern void _Exit(int status); extern int raise(int sig); extern void (*signal(int sig, void (*func)(int)))(int); +extern getenv(const char *var);