]> granicus.if.org Git - sudo/commitdiff
fixed MAXCOMMANDLENGTH
authorTodd C. Miller <Todd.Miller@courtesan.com>
Sat, 4 Sep 1993 19:17:17 +0000 (19:17 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Sat, 4 Sep 1993 19:17:17 +0000 (19:17 +0000)
now uses USE_CWD and NEED_STRDUP
added info about new defines in the comment

sudo.h

diff --git a/sudo.h b/sudo.h
index 35cc7a4ceb0ba6903e66f6d25687c4fd9da300a9..70449979d6770a3f8439a5d87a436bacf2bd3d76 100644 (file)
--- 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;