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:
Diffstat (limited to 'libgloss/libnosys/stat.c')
-rw-r--r--libgloss/libnosys/stat.c24
1 files changed, 0 insertions, 24 deletions
diff --git a/libgloss/libnosys/stat.c b/libgloss/libnosys/stat.c
deleted file mode 100644
index 7c3463798..000000000
--- a/libgloss/libnosys/stat.c
+++ /dev/null
@@ -1,24 +0,0 @@
-/*
- * Stub version of stat.
- */
-
-#include "config.h"
-#include <_ansi.h>
-#include <_syslist.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include <errno.h>
-#undef errno
-extern int errno;
-#include "warning.h"
-
-int
-_DEFUN (_stat, (file, st),
- const char *file _AND
- struct stat *st)
-{
- errno = ENOSYS;
- return -1;
-}
-
-stub_warning(_stat)