newlib-cygwin/newlib/libc
Hans-Peter Nilsson ddb614993a newlib MMIX: Fix compilation warnings that recent gcc treats as errors
Without this, when building with recent gcc, we'll see errors when
compiling for --target mmix the first being:
  CC       libc/sys/mmixware/libc_a-chmod.o
In file included from /x/newlib/libc/sys/mmixware/chmod.c:17:
/x/newlib/libc/sys/mmixware/chmod.c: In function 'chmod':
/x/newlib/libc/sys/mmixware/sys/syscall.h:139:6: error: implicit declaration \
of function 'sprintf' [-Wimplicit-function-declaration]
  139 |      sprintf (buf, "UNIMPLEMENTED %s in %s\n", __FUNCTION__,
 __FILE__); \

Other warnings also quelled.

	* libc/sys/mmixware/sys/syscall.h: Include stdio.h, string.h
	and unistd.h.
	* libc/sys/mmixware/_exit.c: Call __unreachable after simulator exit.
	* libc/sys/mmixware/chown.c (chown): Match declaration in unistd.h.
	* libc/sys/mmixware/getpid.c (_getpid): Ditto.
	* libc/sys/mmixware/kill.c (_kill): Ditto.
	* libc/sys/mmixware/link.c (_link): Ditto.
	* libc/sys/mmixware/read.c (_read): Ditto.
	* libc/sys/mmixware/sbrk.c (_sbrk): Ditto.
	* libc/sys/mmixware/unlink.c (_unlink): Ditto.
	* libc/sys/mmixware/write.c (_write): Ditto.
2023-12-29 19:29:20 +01:00
..
argz newlib: libc: merge build up a directory 2022-03-16 21:18:25 -04:00
ctype ctype_cp.h/ctype_iso.h: clean whitespace 2023-02-25 16:12:51 +01:00
errno Add --enable-newlib-reent-thread-local option 2022-07-13 06:55:46 +02:00
iconv newlib: info: tweak iconv node to avoid collisions 2022-12-13 05:22:09 -05:00
include RISC-V: Support long double math 2023-12-04 10:26:41 +01:00
locale newlib: nl_langinfo: Fix a bug of time stuff. 2023-11-24 09:53:11 +09:00
machine GCN: Implement '_exit' instead of 'exit' 2023-12-23 10:26:58 +01:00
misc Remove __sinit_locks / __sinit_recursive_mutex 2022-05-13 12:31:56 +02:00
posix newlib: libc: Fix indentation 2023-12-02 22:22:26 -05:00
reent Reclaim _REENT_MP_P5S in _reclaim_reent 2023-11-20 10:49:39 +01:00
search newlib: libc: merge build up a directory 2022-03-16 21:18:25 -04:00
signal Add --enable-newlib-reent-thread-local option 2022-07-13 06:55:46 +02:00
ssp nvptx: Don't use global constructor for SSP setup 2023-01-19 21:51:09 +01:00
stdio stdio: drop unnecessary calls to ORIENT 2023-11-20 20:59:47 +01:00
stdio64 Add _REENT_ERRNO(ptr) 2022-07-13 06:55:41 +02:00
stdlib Reentrancy, use _REENT_ERRNO() 2023-09-11 09:23:05 +02:00
string Optimize strpbrk.c 2023-12-21 14:04:49 -05:00
sys newlib MMIX: Fix compilation warnings that recent gcc treats as errors 2023-12-29 19:29:20 +01:00
syscalls Add stub for getentropy 2023-08-09 11:38:03 +02:00
time strftime/wcsftime: use STRLEN, not strlen 2022-10-29 20:15:58 +02:00
unix Fix typo. 2023-07-18 13:43:29 -04:00
xdr newlib: libc: merge build up a directory 2022-03-16 21:18:25 -04:00
Makefile.inc Silence xsltproc when writing manpages 2022-05-04 17:05:52 -04:00
Makefile.unidata cleanup Unicode data files after generating updated tables 2021-11-16 11:24:29 +01:00
acinclude.m4 newlib: add Xtensa port 2023-08-17 18:14:15 -04:00
libc.in.xml Generate manpages for functions in chapter sys.tex 2022-05-04 17:06:19 -04:00
libc.texi Remove curly braces in `@author` tag in .texi files 2023-12-19 13:28:18 -05:00
sys.tex Don't include stdio64 functions in reentrant syscalls menu when not bulding stdio64. 2015-08-03 09:54:33 +01:00