newlib-cygwin/newlib/libc/sys
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
..
a29khif newlib: libc: merge build up a directory 2022-03-16 21:18:25 -04:00
amdgcn amdgcn: Replace asm("s8") by __builtin_gcn_kernarg_ptr if existing 2022-11-21 13:10:29 +01:00
arm arm: Restrict processor mode change when in hypervisor mode 2023-03-03 13:27:31 +00:00
d10v newlib: libc: merge build up a directory 2022-03-16 21:18:25 -04:00
epiphany newlib: libc: merge build up a directory 2022-03-16 21:18:25 -04:00
h8300hms Fix newlib H8/300 bits for C99/gcc-14 2023-12-22 20:25:10 -07:00
h8500hms newlib: libc: merge build up a directory 2022-03-16 21:18:25 -04:00
m88kbug newlib: libc: merge build up a directory 2022-03-16 21:18:25 -04:00
mmixware newlib MMIX: Fix compilation warnings that recent gcc treats as errors 2023-12-29 19:29:20 +01:00
netware newlib: libc: merge build up a directory 2022-03-16 21:18:25 -04:00
or1k newlib: libc: merge build up a directory 2022-03-16 21:18:25 -04:00
rdos remove +x bit on source files 2022-12-21 22:38:57 -05:00
rtems RTEMS: Add __m68k_read_tp() to crt0.c 2023-04-24 10:21:42 +02:00
sh SH: Do not build syscalls if option provided 2022-08-15 15:12:19 -04:00
sysmec newlib: libc: merge build up a directory 2022-03-16 21:18:25 -04:00
sysnec810 newlib: libc: merge build up a directory 2022-03-16 21:18:25 -04:00
sysnecv850 Fix various v850 problems 2023-12-19 20:56:04 -07:00
sysvi386 newlib: libc: merge build up a directory 2022-03-16 21:18:25 -04:00
sysvnecv70 newlib: libc: merge build up a directory 2022-03-16 21:18:25 -04:00
tic80 newlib: libc: merge build up a directory 2022-03-16 21:18:25 -04:00
tirtos newlib: libc: merge build up a directory 2022-03-16 21:18:25 -04:00
w65 newlib: libc: merge build up a directory 2022-03-16 21:18:25 -04:00
xtensa newlib: add Xtensa port 2023-08-17 18:14:15 -04:00
z8ksim newlib: libc: merge build up a directory 2022-03-16 21:18:25 -04:00
Makefile.inc newlib: add Xtensa port 2023-08-17 18:14:15 -04:00