aboutsummaryrefslogtreecommitdiffstats
path: root/guts/remove.c
diff options
context:
space:
mode:
Diffstat (limited to 'guts/remove.c')
-rw-r--r--guts/remove.c22
1 files changed, 0 insertions, 22 deletions
diff --git a/guts/remove.c b/guts/remove.c
deleted file mode 100644
index 47f8752..0000000
--- a/guts/remove.c
+++ /dev/null
@@ -1,22 +0,0 @@
-/*
- * Copyright (c) 2008-2010 Wind River Systems; see
- * guts/COPYRIGHT for information.
- *
- * static int
- * wrap_remove(const char *path) {
- * int rc = -1;
- */
- struct stat buf;
- if (real___lxstat(_STAT_VER, path, &buf) == -1) {
- errno = ENOENT;
- return -1;
- }
- if (S_ISDIR(buf.st_mode)) {
- rc = wrap_rmdir(path);
- } else {
- rc = wrap_unlink(path);
- }
-
-/* return rc;
- * }
- */