rc

[fork] interactive rc shell
Log | Files | Refs | README | LICENSE

commit 3cf6580197ccd9300af633502e746a1b5c22c176
parent a0f0aa5f02a087f2c433f6cc53a6331c5befaaed
Author: tgoodwin <tgoodwin>
Date:   Wed,  8 Jul 1998 16:53:21 +0000

don't include standard headers: that's rc.h's job
don't declare stat()

Diffstat:
Mwhich.c | 4----
1 file changed, 0 insertions(+), 4 deletions(-)

diff --git 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;