summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/euidaccess.c2
-rw-r--r--lib/fsusage.c1
-rw-r--r--lib/isdir.c2
-rw-r--r--lib/makepath.c2
-rw-r--r--lib/mkdir.c2
-rw-r--r--lib/rename.c2
-rw-r--r--lib/rmdir.c2
7 files changed, 1 insertions, 12 deletions
diff --git a/lib/euidaccess.c b/lib/euidaccess.c
index 598b87522..7bd317d48 100644
--- a/lib/euidaccess.c
+++ b/lib/euidaccess.c
@@ -74,8 +74,6 @@ extern int errno;
#define R_OK 4
#endif
-#include "safe-stat.h"
-
/* The user's real user id. */
static uid_t uid;
diff --git a/lib/fsusage.c b/lib/fsusage.c
index 82bdd1970..2c1c7f0e2 100644
--- a/lib/fsusage.c
+++ b/lib/fsusage.c
@@ -22,7 +22,6 @@
#include <sys/types.h>
#include <sys/stat.h>
#include "fsusage.h"
-#include "safe-stat.h"
int statfs ();
diff --git a/lib/isdir.c b/lib/isdir.c
index aafa74650..dfd52a4a9 100644
--- a/lib/isdir.c
+++ b/lib/isdir.c
@@ -22,8 +22,6 @@
#include <sys/types.h>
#include <sys/stat.h>
-#include "safe-stat.h"
-
#ifdef STAT_MACROS_BROKEN
#undef S_ISDIR
#endif /* STAT_MACROS_BROKEN. */
diff --git a/lib/makepath.c b/lib/makepath.c
index 496c852b1..661f58b0f 100644
--- a/lib/makepath.c
+++ b/lib/makepath.c
@@ -78,7 +78,7 @@ typedef int gid_t;
#endif
#include "makepath.h"
-#include "safe-stat.h"
+
void error ();
/* Ensure that the directory ARGPATH exists.
diff --git a/lib/mkdir.c b/lib/mkdir.c
index 7908b18b7..efde52e05 100644
--- a/lib/mkdir.c
+++ b/lib/mkdir.c
@@ -34,8 +34,6 @@ extern int errno;
#define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR)
#endif
-#include "safe-stat.h"
-
/* mkdir adapted from GNU tar. */
/* Make directory DPATH, with permission mode DMODE.
diff --git a/lib/rename.c b/lib/rename.c
index a87ff19b4..44821c94f 100644
--- a/lib/rename.c
+++ b/lib/rename.c
@@ -34,8 +34,6 @@ extern int errno;
#define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR)
#endif
-#include "safe-stat.h"
-
/* Rename file FROM to file TO.
Return 0 if successful, -1 if not. */
diff --git a/lib/rmdir.c b/lib/rmdir.c
index a8c1f49eb..de898ec54 100644
--- a/lib/rmdir.c
+++ b/lib/rmdir.c
@@ -35,8 +35,6 @@ extern int errno;
#define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR)
#endif
-#include "safe-stat.h"
-
/* rmdir adapted from GNU tar. */
/* Remove directory DPATH.