]> granicus.if.org Git - sudo/commitdiff
fix compilation on non-C99; from Theo
authorTodd C. Miller <Todd.Miller@courtesan.com>
Tue, 18 Nov 2008 15:57:09 +0000 (15:57 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Tue, 18 Nov 2008 15:57:09 +0000 (15:57 +0000)
sudo.c

diff --git a/sudo.c b/sudo.c
index 3b965da74106accc9de85d8a8098bfb1a3174ea4..efee4831035c60b7d4b06e1000b83d68677f0485 100644 (file)
--- 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, "");