took out environ extern

added local declaratio of putenv() if local version is needed
This commit is contained in:
Todd C. Miller
1994-08-08 04:07:00 +00:00
parent 38b6d5f1df
commit 65a4afee48

4
sudo.h
View File

@@ -343,6 +343,9 @@ char *strdup __P((const char *));
#ifndef HAVE_GETCWD #ifndef HAVE_GETCWD
char *getcwd __P((char *, size_t)); char *getcwd __P((char *, size_t));
#endif #endif
#if !defined(HAVE_PUTENV) && !defined(HAVE_SETENV)
int putenv __P((const char *));
#endif
char *sudo_realpath __P((const char *, char *)); char *sudo_realpath __P((const char *, char *));
int sudo_setenv __P((char *, char *)); int sudo_setenv __P((char *, char *));
char *tgetpass __P((char *, int)); char *tgetpass __P((char *, int));
@@ -372,7 +375,6 @@ extern int Argc;
extern char **Argv; extern char **Argv;
#endif #endif
extern int errno; extern int errno;
extern char ** environ;
/* /*