summaryrefslogtreecommitdiff
path: root/gnulib/lib/fchown-stub.c
diff options
context:
space:
mode:
Diffstat (limited to 'gnulib/lib/fchown-stub.c')
-rw-r--r--gnulib/lib/fchown-stub.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/gnulib/lib/fchown-stub.c b/gnulib/lib/fchown-stub.c
deleted file mode 100644
index 6be750b8..00000000
--- a/gnulib/lib/fchown-stub.c
+++ /dev/null
@@ -1,16 +0,0 @@
-#include <config.h>
-
-#include <sys/types.h>
-#include <errno.h>
-
-/* A trivial substitute for `fchown'.
-
- DJGPP 2.03 and earlier (and perhaps later) don't have `fchown',
- so we pretend no-one has permission for this operation. */
-
-int
-fchown (int fd, uid_t uid, gid_t gid)
-{
- errno = EPERM;
- return -1;
-}