summaryrefslogtreecommitdiff
path: root/which.c
diff options
context:
space:
mode:
Diffstat (limited to 'which.c')
-rw-r--r--which.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/which.c b/which.c
index 9fe74d5..c4bbc29 100644
--- a/which.c
+++ b/which.c
@@ -10,17 +10,13 @@
#include "rc.h"
#include <errno.h>
-#include <sys/types.h>
#include <sys/stat.h>
-#include <unistd.h>
#define X_USR 0100
#define X_GRP 0010
#define X_OTH 0001
#define X_ALL (X_USR|X_GRP|X_OTH)
-extern int stat(const char *, struct stat *);
-
static bool initialized = FALSE;
static uid_t uid;
static gid_t gid;