Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2008-01-22 03:24:45 +0300
committerDJ Delorie <dj@redhat.com>2008-01-22 03:24:45 +0300
commit226f5a32da9ff0311c3513f48167fce52d591632 (patch)
tree7b0d4b5a7364759faac1d7f967aa7470fda28ec7
parentcece11c51136d98591c93c52e8ec44839cc719dd (diff)
* libc/sys/sh/syscalls.c (_isatty): New.
-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 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);