diff options
Diffstat (limited to 'libgloss/libnosys')
-rw-r--r-- | libgloss/libnosys/Makefile.in | 7 | ||||
-rw-r--r-- | libgloss/libnosys/chown.c | 24 | ||||
-rw-r--r-- | libgloss/libnosys/readlink.c | 24 | ||||
-rw-r--r-- | libgloss/libnosys/symlink.c | 22 |
4 files changed, 3 insertions, 74 deletions
diff --git a/libgloss/libnosys/Makefile.in b/libgloss/libnosys/Makefile.in index d6634fc54..263798569 100644 --- a/libgloss/libnosys/Makefile.in +++ b/libgloss/libnosys/Makefile.in @@ -65,10 +65,9 @@ OBJCOPY = `if [ -f ${objroot}/../binutils/objcopy ] ; \ else t='$(program_transform_name)'; echo objcopy | sed -e $$t ; fi` # object files needed -OBJS = chown.o close.o environ.o errno.o execve.o fork.o fstat.o \ - getpid.o gettod.o isatty.o kill.o link.o lseek.o open.o \ - read.o readlink.o sbrk.o stat.o symlink.o times.o unlink.o \ - wait.o write.o _exit.o +OBJS = close.o environ.o errno.o execve.o fork.o fstat.o getpid.o gettod.o \ + isatty.o kill.o link.o lseek.o open.o read.o sbrk.o stat.o \ + times.o unlink.o wait.o write.o _exit.o # Object files specific to particular targets. EVALOBJS = ${OBJS} diff --git a/libgloss/libnosys/chown.c b/libgloss/libnosys/chown.c deleted file mode 100644 index 67f98d59d..000000000 --- a/libgloss/libnosys/chown.c +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Stub version of chown. - */ - -#include "config.h" -#include <_ansi.h> -#include <_syslist.h> -#include <errno.h> -#include <sys/types.h> -#undef errno -extern int errno; -#include "warning.h" - -int -_DEFUN (_chown, (path, owner, group), - const char *path _AND - uid_t owner _AND - gid_t group) -{ - errno = ENOSYS; - return -1; -} - -stub_warning(_chown) diff --git a/libgloss/libnosys/readlink.c b/libgloss/libnosys/readlink.c deleted file mode 100644 index 7df253c40..000000000 --- a/libgloss/libnosys/readlink.c +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Stub version of readlink. - */ - -#include "config.h" -#include <_ansi.h> -#include <_syslist.h> -#include <errno.h> -#include <sys/types.h> -#undef errno -extern int errno; -#include "warning.h" - -int -_DEFUN (_readlink, (path, buf, bufsize), - const char *path _AND - char *buf _AND - size_t bufsize) -{ - errno = ENOSYS; - return -1; -} - -stub_warning(_readlink) diff --git a/libgloss/libnosys/symlink.c b/libgloss/libnosys/symlink.c deleted file mode 100644 index d9e29f2e4..000000000 --- a/libgloss/libnosys/symlink.c +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Stub version of symlink. - */ - -#include "config.h" -#include <_ansi.h> -#include <_syslist.h> -#include <errno.h> -#undef errno -extern int errno; -#include "warning.h" - -int -_DEFUN (_symlink, (path1, path2), - const char *path1 _AND - const char *path2) -{ - errno = ENOSYS; - return -1; -} - -stub_warning(_symlink) |