summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2010-02-19 18:01:09 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2010-02-19 18:01:09 +0000
commit38e0c56d3f398406ae62e98f5c3685fc91e35371 (patch)
tree04de6ea0fe2467394e11267d1487a18ed4ffd3bc
parentf9d0b92bd3c413b26bbd19ea548d44fb146a92c5 (diff)
gcc2 requires decls before code
-rw-r--r--usr.bin/ssh/ssh-pkcs11-helper.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.bin/ssh/ssh-pkcs11-helper.c b/usr.bin/ssh/ssh-pkcs11-helper.c
index f9962709ba4..f9d5f00413b 100644
--- a/usr.bin/ssh/ssh-pkcs11-helper.c
+++ b/usr.bin/ssh/ssh-pkcs11-helper.c
@@ -265,13 +265,12 @@ main(int argc, char **argv)
SyslogFacility log_facility = SYSLOG_FACILITY_AUTH;
LogLevel log_level = SYSLOG_LEVEL_ERROR;
char buf[4*4096];
+ extern char *optarg;
+ extern char *__progname;
TAILQ_INIT(&pkcs11_keylist);
pkcs11_init(0);
- extern char *optarg;
- extern char *__progname;
-
log_init(__progname, log_level, log_facility, log_stderr);
in = STDIN_FILENO;