This patch fixes some compilation issues in libgloss when building a cross-compiler for mips. This mostly requires new function prototypes, similar to the changes recently made by Jeff Law for other targets. 2024-01-04 Roger Sayle libgloss/ChangeLog * kill.c: Prototype _exit. * mips/cfe_mem.c (__libcfe_meminit): Add casts to avoid compilation warnings/errors. * mips/cma101.c: Prototype __cpu_timer_poll and __cpu_flush. * mips/syscalls.c: Prototype get_mem_info. (sbrk): Add casts to avoid compilation warnings/errors. * mips/test.c: Prototype outbyte and print. Fix return type of main. * print.c: Prototype outbyte. Make ptr argument const char*. * putnum.c: Update prototype of print to const char*. Ok? Roger --