From 65a4afee48eff33dae867701ddffc8bec0bdec1d Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Mon, 8 Aug 1994 04:07:00 +0000 Subject: [PATCH] took out environ extern added local declaratio of putenv() if local version is needed --- sudo.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sudo.h b/sudo.h index 651ca3f90..e09115a3c 100644 --- a/sudo.h +++ b/sudo.h @@ -343,6 +343,9 @@ char *strdup __P((const char *)); #ifndef HAVE_GETCWD char *getcwd __P((char *, size_t)); #endif +#if !defined(HAVE_PUTENV) && !defined(HAVE_SETENV) +int putenv __P((const char *)); +#endif char *sudo_realpath __P((const char *, char *)); int sudo_setenv __P((char *, char *)); char *tgetpass __P((char *, int)); @@ -372,7 +375,6 @@ extern int Argc; extern char **Argv; #endif extern int errno; -extern char ** environ; /*