From 68baa6346ceb6f02edff01027c9740d9a0936037 Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Tue, 18 Nov 2008 15:57:09 +0000 Subject: [PATCH] fix compilation on non-C99; from Theo --- sudo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sudo.c b/sudo.c index 3b965da74..efee48310 100644 --- a/sudo.c +++ b/sudo.c @@ -171,11 +171,11 @@ main(argc, argv, envp) int sources = 0, validated; int fd, cmnd_status, sudo_mode, pwflag, rc = 0; sigaction_t sa; + struct sudo_nss *nss; #if defined(SUDO_DEVEL) && defined(__OpenBSD__) extern char *malloc_options; malloc_options = "AFGJPR"; #endif - struct sudo_nss *nss; #ifdef HAVE_SETLOCALE setlocale(LC_ALL, ""); -- 2.40.0