4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-01-22 23:17:28 +08:00
Hans-Peter Nilsson 7cce4cdd6e libgloss/cris: Make C declarations present and match them
This is the libgloss part.
Recently, there was a change in gcc such that implicit function
declarations and type mismatches are now errors, no longer just
warnings.  Fix by adding and correcting declarations warned about;
including the right header or adding a declaration (for "main" in
lcrt0.c) and adjust to those types as necessary.
2023-12-06 18:45:57 +01:00

10 lines
208 B
C

/* Low-level kind-of-support for CRIS. Mostly used as a placeholder
function. Too small and obvious to warrant a copyright notice. */
#include <unistd.h>
void
outbyte (int ch)
{
write (1, &ch, 1);
}