From: Todd C. Miller Date: Sat, 4 Sep 1993 19:17:17 +0000 (+0000) Subject: fixed MAXCOMMANDLENGTH X-Git-Tag: SUDO_1_3_0~103 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f530705e0028f2b794998d881d1a81b01c9fe27d;p=sudo fixed MAXCOMMANDLENGTH now uses USE_CWD and NEED_STRDUP added info about new defines in the comment --- 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;