newlib-cygwin/libgloss/mn10300/read.c
Jeff Law 7a45daad91 Re: libgloss c99 fixes for mn10300-elf
Very similar to other patches in this space.  Avoid implicit int types and add
missing #includes so that this code works with gcc-14.
2023-12-21 00:01:54 -07:00

13 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);
}