From 38e0c56d3f398406ae62e98f5c3685fc91e35371 Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Fri, 19 Feb 2010 18:01:09 +0000 Subject: gcc2 requires decls before code --- usr.bin/ssh/ssh-pkcs11-helper.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'usr.bin/ssh') 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; -- cgit v1.2.3