Build fdopen(), hypot(), putenv() in libc.
authorGeorge Koehler <xkernigh@netscape.net>
Sat, 28 Oct 2017 17:06:38 +0000 (13:06 -0400)
committerGeorge Koehler <xkernigh@netscape.net>
Sat, 28 Oct 2017 17:33:57 +0000 (13:33 -0400)
commitb00a2c906d1f11f6d1aa52b0388d467fda0c6b60
treedd1e672aabae59b5295c36958596f18042f8257b
parentc261e2efaf239fad0545d1a2b0241295dd51b9f8
Build fdopen(), hypot(), putenv() in libc.

These functions are in POSIX; hypot() is in C99.  Also build cabs()
because it rides with hypot(), but don't declare cabs() in any header
file, because our compiler can't parse C99 "double complex" type.

Touch build.lua so it sees that .c files moved.
lang/cem/libcc.ansi/build.lua
lang/cem/libcc.ansi/headers/math.h
lang/cem/libcc.ansi/math/hypot.c [moved from lang/cem/libcc.ansi/misc/hypot.c with 100% similarity]
lang/cem/libcc.ansi/stdio/fdopen.c [moved from lang/cem/libcc.ansi/misc/fdopen.c with 100% similarity]
lang/cem/libcc.ansi/stdlib/putenv.c [moved from lang/cem/libcc.ansi/misc/putenv.c with 100% similarity]