diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2003-02-25 23:36:29 +0300 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2003-02-25 23:36:29 +0300 |
commit | 41a639dea811272c66ed71eb9ca6c233050f57b3 (patch) | |
tree | eadb76e7fe1e3fe6baed9ff78d86ee83eae163f2 /newlib/libc/sys/h8300hms/syscalls.c | |
parent | 5ffa5aaa5c9f7151ffd0fc4d6eae6f48cab29427 (diff) |
2002-02-25 D.Venkatasubramanian <dvenkat@noida.hcltech.com>
* libc/sys/h8300hms/Makefile.am: Add support for new files.
* libc/sys/h8300hms/Makefile.in: Regenerated.
* libc/sys/h8300hms/close.S: New file.
* libc/sys/h8300hms/fstat.S: Ditto.
* libc/sys/h8300hms/lseek.S: Ditto.
* libc/sys/h8300hms/open.S: Ditto.
* libc/sys/h8300hms/stat.S: Ditto.
* libc/sys/h8300hms/read.S: New file to replace read.c.
* libc/sys/h8300hms/read.c: Removed.
* libc/sys/h8300hms/syscalls.c: Removed functions _open,
_lseek, _close, _stat, _fstat.
* libc/sys/h8300hms/write.S: New file to replace write.c.
* libc/sys/h8300hms/write.c: Removed.
Diffstat (limited to 'newlib/libc/sys/h8300hms/syscalls.c')
-rw-r--r-- | newlib/libc/sys/h8300hms/syscalls.c | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/newlib/libc/sys/h8300hms/syscalls.c b/newlib/libc/sys/h8300hms/syscalls.c index 3ebac8843..b716e62fc 100644 --- a/newlib/libc/sys/h8300hms/syscalls.c +++ b/newlib/libc/sys/h8300hms/syscalls.c @@ -1,47 +1,14 @@ /* Operating system stubs, set up for the MRI simulator */ #include <_ansi.h> -#include <sys/types.h> -#include <sys/stat.h> #include <errno.h> - -int _DEFUN(_lseek,(file, ptr, dir), - int file _AND - int ptr _AND - int dir) -{ - return 0; -} - -int _DEFUN(_close,(file), - int file) -{ - return -1; -} - int isatty(file) int file; { return 1; } -int _DEFUN(_fstat,(file, st), - int file _AND - struct stat *st) -{ - st->st_mode = S_IFCHR; - return 0; -} - -int -_open (path, flags) - const char *path; - int flags; -{ - return 0; -} - int _unlink (path) const char *path; |