summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordjm <djm@openbsd.org>2008-11-01 04:50:08 +0000
committerdjm <djm@openbsd.org>2008-11-01 04:50:08 +0000
commit9ac976119dab2247233b0aa729819952949145a4 (patch)
tree1834cbfd5267b9a90e6b975d7adb15e14bf04336
parentImprove reporting of cache misses in the vmstat view. Previously (diff)
downloadwireguard-openbsd-9ac976119dab2247233b0aa729819952949145a4.tar.xz
wireguard-openbsd-9ac976119dab2247233b0aa729819952949145a4.zip
sprinkle ARGSUSED on dispatch handlers
nuke stale unusued prototype
-rw-r--r--usr.bin/ssh/sshconnect2.c15
1 files changed, 13 insertions, 2 deletions
diff --git a/usr.bin/ssh/sshconnect2.c b/usr.bin/ssh/sshconnect2.c
index c48bd99ff30..dbbfad24784 100644
--- a/usr.bin/ssh/sshconnect2.c
+++ b/usr.bin/ssh/sshconnect2.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sshconnect2.c,v 1.168 2008/10/03 23:56:28 deraadt Exp $ */
+/* $OpenBSD: sshconnect2.c,v 1.169 2008/11/01 04:50:08 djm Exp $ */
/*
* Copyright (c) 2000 Markus Friedl. All rights reserved.
*
@@ -212,7 +212,6 @@ int userauth_pubkey(Authctxt *);
int userauth_passwd(Authctxt *);
int userauth_kbdint(Authctxt *);
int userauth_hostbased(Authctxt *);
-int userauth_kerberos(Authctxt *);
#ifdef GSSAPI
int userauth_gssapi(Authctxt *authctxt);
@@ -361,6 +360,7 @@ userauth(Authctxt *authctxt, char *authlist)
}
}
+/* ARGSUSED */
void
input_userauth_error(int type, u_int32_t seq, void *ctxt)
{
@@ -368,6 +368,7 @@ input_userauth_error(int type, u_int32_t seq, void *ctxt)
"type %d", type);
}
+/* ARGSUSED */
void
input_userauth_banner(int type, u_int32_t seq, void *ctxt)
{
@@ -389,6 +390,7 @@ input_userauth_banner(int type, u_int32_t seq, void *ctxt)
xfree(lang);
}
+/* ARGSUSED */
void
input_userauth_success(int type, u_int32_t seq, void *ctxt)
{
@@ -406,6 +408,7 @@ input_userauth_success(int type, u_int32_t seq, void *ctxt)
authctxt->success = 1; /* break out */
}
+/* ARGSUSED */
void
input_userauth_failure(int type, u_int32_t seq, void *ctxt)
{
@@ -426,6 +429,8 @@ input_userauth_failure(int type, u_int32_t seq, void *ctxt)
userauth(authctxt, authlist);
}
+
+/* ARGSUSED */
void
input_userauth_pk_ok(int type, u_int32_t seq, void *ctxt)
{
@@ -608,6 +613,7 @@ process_gssapi_token(void *ctxt, gss_buffer_t recv_tok)
return status;
}
+/* ARGSUSED */
void
input_gssapi_response(int type, u_int32_t plen, void *ctxt)
{
@@ -647,6 +653,7 @@ input_gssapi_response(int type, u_int32_t plen, void *ctxt)
}
}
+/* ARGSUSED */
void
input_gssapi_token(int type, u_int32_t plen, void *ctxt)
{
@@ -674,6 +681,7 @@ input_gssapi_token(int type, u_int32_t plen, void *ctxt)
}
}
+/* ARGSUSED */
void
input_gssapi_errtok(int type, u_int32_t plen, void *ctxt)
{
@@ -703,6 +711,7 @@ input_gssapi_errtok(int type, u_int32_t plen, void *ctxt)
/* Server will be returning a failed packet after this one */
}
+/* ARGSUSED */
void
input_gssapi_error(int type, u_int32_t plen, void *ctxt)
{
@@ -767,9 +776,11 @@ userauth_passwd(Authctxt *authctxt)
return 1;
}
+
/*
* parse PASSWD_CHANGEREQ, prompt user and send SSH2_MSG_USERAUTH_REQUEST
*/
+/* ARGSUSED */
void
input_userauth_passwd_changereq(int type, u_int32_t seqnr, void *ctxt)
{