mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-31 14:25:15 +00:00
Get rid of SUDO_MAIN. Modern compilers don't warn about mixing
extern and auto declarations unless they conflict.
This commit is contained in:
@@ -58,11 +58,9 @@
|
||||
*/
|
||||
#define LOG_INDENT " "
|
||||
|
||||
#ifndef SUDO_MAIN
|
||||
/* XXX - needed for auditing */
|
||||
extern int NewArgc;
|
||||
extern char **NewArgv;
|
||||
#endif
|
||||
|
||||
bool sudoers_warn_setlocale(bool restore, int *cookie);
|
||||
bool sudoers_setlocale(int newlocale, int *prevlocale);
|
||||
|
Reference in New Issue
Block a user