From 102462e1a1acc2c11353c6588869fbaddbb558f4 Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Mon, 20 Mar 2006 18:17:21 +0000 Subject: sprinkle some ARGSUSED for table driven functions (which sometimes must ignore their args) --- usr.bin/ssh/auth1.c | 5 +++++ usr.bin/ssh/auth2.c | 2 ++ usr.bin/ssh/sshd.c | 1 - 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/usr.bin/ssh/auth1.c b/usr.bin/ssh/auth1.c index e661b4ed74c..a8795d25af0 100644 --- a/usr.bin/ssh/auth1.c +++ b/usr.bin/ssh/auth1.c @@ -91,6 +91,7 @@ get_authname(int type) return (buf); } +/*ARGSUSED*/ static int auth1_process_password(Authctxt *authctxt, char *info, size_t infolen) { @@ -115,6 +116,7 @@ auth1_process_password(Authctxt *authctxt, char *info, size_t infolen) return (authenticated); } +/*ARGSUSED*/ static int auth1_process_rsa(Authctxt *authctxt, char *info, size_t infolen) { @@ -132,6 +134,7 @@ auth1_process_rsa(Authctxt *authctxt, char *info, size_t infolen) return (authenticated); } +/*ARGSUSED*/ static int auth1_process_rhosts_rsa(Authctxt *authctxt, char *info, size_t infolen) { @@ -172,6 +175,7 @@ auth1_process_rhosts_rsa(Authctxt *authctxt, char *info, size_t infolen) return (authenticated); } +/*ARGSUSED*/ static int auth1_process_tis_challenge(Authctxt *authctxt, char *info, size_t infolen) { @@ -190,6 +194,7 @@ auth1_process_tis_challenge(Authctxt *authctxt, char *info, size_t infolen) return (-1); } +/*ARGSUSED*/ static int auth1_process_tis_response(Authctxt *authctxt, char *info, size_t infolen) { diff --git a/usr.bin/ssh/auth2.c b/usr.bin/ssh/auth2.c index f7557e4c65b..9ad7b55d319 100644 --- a/usr.bin/ssh/auth2.c +++ b/usr.bin/ssh/auth2.c @@ -93,6 +93,7 @@ do_authentication2(Authctxt *authctxt) dispatch_run(DISPATCH_BLOCK, &authctxt->success, authctxt); } +/*ARGSUSED*/ static void input_service_request(int type, u_int32_t seq, void *ctxt) { @@ -126,6 +127,7 @@ input_service_request(int type, u_int32_t seq, void *ctxt) xfree(service); } +/*ARGSUSED*/ static void input_userauth_request(int type, u_int32_t seq, void *ctxt) { diff --git a/usr.bin/ssh/sshd.c b/usr.bin/ssh/sshd.c index dd401a4ce4b..717539359a4 100644 --- a/usr.bin/ssh/sshd.c +++ b/usr.bin/ssh/sshd.c @@ -264,7 +264,6 @@ sighup_handler(int sig) * Called from the main program after receiving SIGHUP. * Restarts the server. */ -/*ARGSUSED*/ static void sighup_restart(void) { -- cgit v1.2.3