diff options
author | DJ Delorie <dj@redhat.com> | 2008-01-22 03:24:45 +0300 |
---|---|---|
committer | DJ Delorie <dj@redhat.com> | 2008-01-22 03:24:45 +0300 |
commit | 226f5a32da9ff0311c3513f48167fce52d591632 (patch) | |
tree | 7b0d4b5a7364759faac1d7f967aa7470fda28ec7 /newlib | |
parent | cece11c51136d98591c93c52e8ec44839cc719dd (diff) |
* libc/sys/sh/syscalls.c (_isatty): New.
Diffstat (limited to 'newlib')
-rw-r--r-- | newlib/ChangeLog | 4 | ||||
-rw-r--r-- | newlib/libc/sys/sh/syscalls.c | 7 |
2 files changed, 11 insertions, 0 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog index 8934f79cd..b54d67e84 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,3 +1,7 @@ +2008-01-21 DJ Delorie <dj@redhat.com> + + * libc/sys/sh/syscalls.c (_isatty): New. + 2008-01-21 Neal H. Walfield <neal@gnu.org> * Makefile.am (crt1.o): Use correct source. diff --git a/newlib/libc/sys/sh/syscalls.c b/newlib/libc/sys/sh/syscalls.c index f8ed7365f..614b67e9e 100644 --- a/newlib/libc/sys/sh/syscalls.c +++ b/newlib/libc/sys/sh/syscalls.c @@ -99,6 +99,13 @@ isatty (fd) return 1; } +_isatty (fd) + int fd; +{ + return 1; +} + + _exit (n) { return __trap34 (SYS_exit, n, 0, 0); |