diff --git a/newlib/libc/sys/sh3eb/syscalls.c b/newlib/libc/sys/sh3eb/syscalls.c index 0d521290b..6edb99bfc 100644 --- a/newlib/libc/sys/sh3eb/syscalls.c +++ b/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 () {