summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTodd C. Miller <Todd.Miller@courtesan.com>1993-09-04 19:17:17 +0000
committerTodd C. Miller <Todd.Miller@courtesan.com>1993-09-04 19:17:17 +0000
commit8bf137788c2b731d247275f92d363242e7250d4e (patch)
tree66596f173cc379d1292ae8770503fbee16f2eeeb
parent7636fe0a6634293eb405a480aa771cc421e183c1 (diff)
downloadsudo-8bf137788c2b731d247275f92d363242e7250d4e.tar.gz
fixed MAXCOMMANDLENGTH
now uses USE_CWD and NEED_STRDUP added info about new defines in the comment
-rw-r--r--sudo.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/sudo.h b/sudo.h
index 35cc7a4ce..70449979d 100644
--- a/sudo.h
+++ b/sudo.h
@@ -218,7 +218,7 @@ YYSTYPE yylval;
#define EXTRA_LIST 0x03
/* These are the functions that are called in sudo */
-#ifdef NEED_STRDUP
+#ifndef NEED_STRDUP
char *strdup();
#endif
char *find_path();
@@ -226,7 +226,6 @@ void load_globals();
void log_error();
void inform_user();
void check_user();
-void clean_envp();
int validate();
/* Most of these variables are declared in main() so they don't need
@@ -241,9 +240,8 @@ extern uid_t uid;
extern char *host;
extern char *user;
extern char *cmnd;
-extern int Argc;
extern char **Argv;
-extern char **Envp;
+extern int Argc;
#endif
extern int errno;