aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--newlib/ChangeLog4
-rw-r--r--newlib/libc/sys/sh/syscalls.c7
2 files changed, 11 insertions, 0 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog
index 8934f79..b54d67e 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 f8ed736..614b67e 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);