diff options
author | 2006-03-20 18:17:20 +0000 | |
---|---|---|
committer | 2006-03-20 18:17:20 +0000 | |
commit | f4cc3b025036bd20d44e04cf4e0bf432b3ae7d35 (patch) | |
tree | 5ff32d2b871920905945ded0ae29ac8d5df89ef2 | |
parent | sprinkle u_int throughout pty subsystem, ok markus (diff) | |
download | wireguard-openbsd-f4cc3b025036bd20d44e04cf4e0bf432b3ae7d35.tar.xz wireguard-openbsd-f4cc3b025036bd20d44e04cf4e0bf432b3ae7d35.zip |
sprinkle some ARGSUSED for table driven functions (which sometimes must ignore their args)
-rw-r--r-- | usr.bin/ssh/auth1.c | 5 | ||||
-rw-r--r-- | usr.bin/ssh/auth2.c | 2 | ||||
-rw-r--r-- | usr.bin/ssh/sshd.c | 1 |
3 files changed, 7 insertions, 1 deletions
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) { |