Browse Source

Remove legacy syscall definitions and changed syscall signatures

sh3port
Memallox 3 years ago
parent
commit
b3a1029f71
  1. 21
      newlib/libc/sys/sh3eb/syscalls.c

21
newlib/libc/sys/sh3eb/syscalls.c

@ -82,11 +82,6 @@ _unlink ()
return -1;
}
isatty (fd)
int fd;
{
return 1;
}
_isatty (fd)
int fd;
@ -100,19 +95,23 @@ _exit (n)
return -1;
}
_kill (n, m)
int
_kill (int pid, int sig)
{
errno = EINVAL;
return -1;
}
_getpid (n)
int
getpid (void)
{
return 1;
}
_raise ()
int
raise(int sig)
{
return -1;
}
int
@ -192,12 +191,6 @@ _gettimeofday (struct timeval *tv, void *tz)
return -1;
}
static inline int
__setup_argv_for_main (int argc)
{
return -1;
}
int
__setup_argv_and_call_main ()
{

Loading…
Cancel
Save