diff --git a/ppu/crt/crt1.c b/ppu/crt/crt1.c index 278f680a..dd8eaa37 100644 --- a/ppu/crt/crt1.c +++ b/ppu/crt/crt1.c @@ -37,7 +37,6 @@ extern void __librt_seekdir_r(struct _reent *r,DIR *dirp,long int loc); extern int __librt_rmdir_r(struct _reent *r,const char *dirname); extern int __librt_link_r(struct _reent *r,const char *old,const char *new); extern int __librt_unlink_r(struct _reent *r,const char *path); -extern int __librt_access_r(struct _reent *r,const char *path,int amode); extern int __librt_utime_r(struct _reent *r,const char *path,const struct utimbuf *times); extern int __librt_usleep_r(struct _reent *r,useconds_t usec); @@ -88,7 +87,6 @@ static void __syscalls_init(void) __syscalls.rmdir_r = __librt_rmdir_r; __syscalls.link_r = __librt_link_r; __syscalls.unlink_r = __librt_unlink_r; - __syscalls.access_r = __librt_access_r; __syscalls.utime_r = __librt_utime_r; __syscalls.sleep_r = __librt_sleep_r; diff --git a/ppu/include/sys/file.h b/ppu/include/sys/file.h index 60ebd70a..3d00d420 100644 --- a/ppu/include/sys/file.h +++ b/ppu/include/sys/file.h @@ -132,12 +132,6 @@ LV2_SYSCALL sysLv2FsLink(const char *oldpath,const char *newpath) return_to_user_prog(s32); } -LV2_SYSCALL sysLv2FsAccess(const char *path,s32 amode) -{ - lv2syscall2(816,(u64)path,amode); - return_to_user_prog(s32); -} - #ifdef __cplusplus } #endif diff --git a/ppu/librt/Makefile b/ppu/librt/Makefile index ae153d87..3036da8d 100644 --- a/ppu/librt/Makefile +++ b/ppu/librt/Makefile @@ -45,7 +45,7 @@ VPATH := $(BASEDIR) OBJS := \ sbrk.o exit.o close.o lseek.o read.o open.o sleep.o write.o fstat.o \ socket.o lock.o dirent.o mkdir.o times.o umask.o lv2errno.o heap.o \ - chmod.o rename.o rmdir.o isatty.o gettod.o settod.o unlink.o access.o \ + chmod.o rename.o rmdir.o isatty.o gettod.o settod.o unlink.o \ link.o truncate.o fsync.o utime.o all: ppu diff --git a/ppu/librt/access.c b/ppu/librt/access.c deleted file mode 100644 index acad11c0..00000000 --- a/ppu/librt/access.c +++ /dev/null @@ -1,19 +0,0 @@ -#include -#include -#include <_ansi.h> -#include <_syslist.h> -#include -#include -#include -#include - -#include - -int -_DEFUN(__librt_access_r,(r,path,amode), - struct _reent *r _AND - const char *path _AND - int amode) -{ - return lv2errno_r(r,sysLv2FsAccess(path,amode)); -}