aboutsummaryrefslogtreecommitdiff
path: root/libgloss/libnosys/open.c
diff options
context:
space:
mode:
Diffstat (limited to 'libgloss/libnosys/open.c')
-rw-r--r--libgloss/libnosys/open.c23
1 files changed, 0 insertions, 23 deletions
diff --git a/libgloss/libnosys/open.c b/libgloss/libnosys/open.c
deleted file mode 100644
index 2c8a6ce..0000000
--- a/libgloss/libnosys/open.c
+++ /dev/null
@@ -1,23 +0,0 @@
-/*
- * Stub version of open.
- */
-
-#include "config.h"
-#include <_ansi.h>
-#include <_syslist.h>
-#include <errno.h>
-#undef errno
-extern int errno;
-#include "warning.h"
-
-int
-_DEFUN (_open, (file, flags, mode),
- char *file _AND
- int flags _AND
- int mode)
-{
- errno = ENOSYS;
- return -1;
-}
-
-stub_warning(_open)