diff options
| author | tgoodwin <tgoodwin> | 1998-07-08 16:53:21 +0000 |
|---|---|---|
| committer | Toby Goodwin <toby@paccrat.org> | 2015-05-16 21:23:06 +0100 |
| commit | 3cf6580197ccd9300af633502e746a1b5c22c176 (patch) | |
| tree | 8523b350418d3e172485db550529802f2a842234 /which.c | |
| parent | a0f0aa5f02a087f2c433f6cc53a6331c5befaaed (diff) | |
don't include standard headers: that's rc.h's job
don't declare stat()
Diffstat (limited to 'which.c')
| -rw-r--r-- | which.c | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -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; |