summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2008-11-15 05:11:40 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2008-11-15 05:11:40 +0000
commit601f421ccf3e51910d21f8cac7cc3018c4029b16 (patch)
tree412240edc4b754bbd36129ac58a91624acc0fccc /usr.bin
parentc5aa8399ba613ea117909086961c3fb859ae041e (diff)
classic C compatibility (no statements before decls)
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/sudo/sudo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/sudo/sudo.c b/usr.bin/sudo/sudo.c
index 7ffb4741eb4..e8c6b0c7ba9 100644
--- a/usr.bin/sudo/sudo.c
+++ b/usr.bin/sudo/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, "");