mes/lib/mes
Jan Nieuwenhuizen 25e159d622
mescc: Mes C Library: Use casting functions.
Silence all casting errors by using casting functions.

* lib/mes/cast.c: New file.
* build-aux/configure-lib.sh (libmes_SOURCES): Add it.
* lib/m2/cast.c: New file.
* kaem.run: Add it.
* simple.make: Add them both.
* include/mes/lib.h: Add cast prototypes.
* include/m2/lib.h: Likewise.
* lib/linux/_getcwd.c (_getcwd): Use them.
* lib/linux/access.c (access): Likewise.
* lib/linux/brk.c (brk): Likewise.
* lib/linux/chmod.c (chmod): Likewise.
* lib/linux/clock_gettime.c (clock_gettime): Likewise.
* lib/linux/gettimeofday.c (gettimeofday): Likewise.
* lib/linux/unlink.c (unlink): Likewise.
* lib/mes/fdputc.c (fdputc): Likewise.
* lib/stdio/putchar.c (putchar): Likewise.
* lib/stdlib/malloc.c (malloc): Likewise.
2019-11-17 12:25:48 +01:00
..
__assert_fail.c mescc: Mes C Library: Prepare for M2-Planet: __assert_fail. 2019-11-17 12:25:30 +01:00
__buffered_read.c mescc: Mes C Library: Add buffered read. 2019-07-27 22:58:49 +02:00
__mes_debug.c build: Simplify. 2019-06-08 15:36:22 +02:00
abtod.c mescc: Mes C Library: Support GNU Awk: Add abtod, implementing strtod. 2019-11-17 12:24:44 +01:00
abtol.c mescc: Mes C Library: Prepare for M2-Planet: abtol. 2019-11-17 12:25:31 +01:00
assert_msg.c mescc: Mes C Library: Add assert_msg. 2019-11-17 12:25:30 +01:00
cast.c mescc: Mes C Library: Use casting functions. 2019-11-17 12:25:48 +01:00
div.c ldiv: Make rem < 0 if a < 0. 2019-09-09 16:04:13 +02:00
dtoab.c Fix dtoab. 2019-11-17 12:24:47 +01:00
eputc.c mescc: Mes C Library: Cleanup includes. 2019-05-08 00:25:41 +02:00
eputs.c build: Simplify. 2019-06-08 15:36:22 +02:00
fdgetc.c mescc: Mes C Library: Bugfix __ungetc_clear. 2019-11-17 12:25:31 +01:00
fdgets.c build: Simplify. 2019-06-08 15:36:22 +02:00
fdputc.c mescc: Mes C Library: Use casting functions. 2019-11-17 12:25:48 +01:00
fdputs.c build: Simplify. 2019-06-08 15:36:22 +02:00
fdungetc.c mescc: Mes C Library: Prepare for M2-Planet: fdungetc. 2019-11-17 12:25:32 +01:00
itoa.c mescc: Mes C Library: Cleanup includes. 2019-05-08 00:25:41 +02:00
ltoa.c mescc: Mes C Library: Cleanup includes. 2019-05-08 00:25:41 +02:00
ltoab.c mescc: Mes C Library: Cleanup includes. 2019-05-08 00:25:41 +02:00
mes_open.c mescc: Mes C Library: Bugfix __ungetc_clear. 2019-11-17 12:25:31 +01:00
ntoab.c mescc: Mes C Library: Prepare for M2-Planet: ntoab. 2019-11-17 12:25:32 +01:00
oputc.c mescc: Mes C Library: Cleanup includes. 2019-05-08 00:25:41 +02:00
oputs.c build: Simplify. 2019-06-08 15:36:22 +02:00
search-path.c build: Simplify. 2019-06-08 15:36:22 +02:00
ultoa.c mescc: Mes C Library: Cleanup includes. 2019-05-08 00:25:41 +02:00
utoa.c mescc: Mes C Library: Cleanup includes. 2019-05-08 00:25:41 +02:00
write.c mescc: Mes C Library: Have write behave well with buffered reads. 2019-07-28 13:01:37 +02:00