4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-01-23 07:27:21 +08:00
Jeff Law bdcfea3a24 Fix iq2000 libgloss for c99/gcc-14
Similar to the others in this space.  Make implicit ints explicit ints. Add
prototype for _write in sbrk.c.
2023-12-21 12:43:27 -07:00

14 lines
189 B
C

#include <_ansi.h>
#include <sys/types.h>
#include <sys/stat.h>
#include "trap.h"
int
_read (int file,
char *ptr,
size_t len)
{
return TRAP0 (SYS_read, file, ptr, len);
}