mes/lib/mes
Jan (janneke) Nieuwenhuizen ca8e9f0342
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/linux/malloc.c (malloc): Likewise.
2020-10-18 14:55:24 +02:00
..
__assert_fail.c mescc: Mes C Library: Prepare for M2-Planet: __assert_fail. 2020-05-17 19:27:27 +02:00
__buffered_read.c mescc: Mes C Library: lseek: Be careful clearing read buffer. 2020-01-20 22:47:52 +01: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-06-25 12:51:44 +02:00
abtol.c mescc: Mes C Library: Prepare for M2-Planet: abtol. 2020-05-17 19:27:53 +02:00
assert_msg.c mescc: Mes C Library: Add assert_msg. 2020-04-19 15:57:06 +02:00
cast.c mescc: Mes C Library: Use casting functions. 2020-10-18 14:55:24 +02:00
div.c mescc: Mes C Library: div: Avoid __raise for TinyCC. 2021-01-23 08:43:41 +01:00
dtoab.c Fix dtoab. 2019-08-27 00:43:37 +02:00
eputc.c mescc: Mes C Library: Cleanup includes. 2019-05-08 00:25:41 +02:00
eputs.c mescc: Mes C Library: Support gcc-10. 2020-10-06 13:13:44 +02:00
fdgetc.c mescc: Mes C Library: Bugfix __ungetc_clear. 2020-06-07 00:31:26 +02:00
fdgets.c build: Simplify. 2019-06-08 15:36:22 +02:00
fdputc.c mescc: Mes C Library: Use casting functions. 2020-10-18 14:55:24 +02:00
fdputs.c build: Simplify. 2019-06-08 15:36:22 +02:00
fdungetc.c mescc: Mes C Library: Bugfix __ungetc_clear. 2020-06-07 00:31:26 +02:00
globals.c mescc: Mes C Library: Support gcc-10. 2020-10-06 13:13:44 +02: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. 2020-06-07 00:31:26 +02:00
mini-write.c bootstrap: Build files only once. 2019-12-07 23:29:34 +01:00
ntoab.c mescc: Mes C Library: Prepare for M2-Planet: ntoab. 2020-05-17 19:28:37 +02:00
oputc.c mescc: Mes C Library: Cleanup includes. 2019-05-08 00:25:41 +02:00
oputs.c mescc: Mes C Library: Support gcc-10. 2020-10-06 13:13:44 +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