mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-02-12 20:19:14 +08:00
This patch resolves the following build error which occurs with gcc 14.1.0: ../../.././libgloss/microblaze/linux-outbyte.c: In function 'outbyte': ../../.././libgloss/microblaze/linux-outbyte.c:3:9: error: implicit declaration of function '_write' [-Wimplicit-function-declaration] 3 | _write(1, &c, 1); Signed-off-by: Neal Frager <neal.frager@amd.com>
7 lines
93 B
C
7 lines
93 B
C
extern int _write (int, char *, int);
|
|
|
|
void outbyte (unsigned char c)
|
|
{
|
|
_write(1, &c, 1);
|
|
}
|