2
0
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:
Todd C. Miller
2015-05-21 11:26:44 -06:00
parent 05a01d4c5d
commit 04128f5985
2 changed files with 7 additions and 12 deletions

View File

@@ -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);