mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-22 15:07:43 +08:00
7cce4cdd6e
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.
10 lines
208 B
C
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);
|
|
}
|