summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2006-03-20 18:17:21 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2006-03-20 18:17:21 +0000
commit102462e1a1acc2c11353c6588869fbaddbb558f4 (patch)
treecbc08b92b1b43adabdb7a98aedd5c4868782524e
parentde676a36f92400fab1781e0d9762cd1b7cdeab92 (diff)
sprinkle some ARGSUSED for table driven functions (which sometimes must ignore their args)
-rw-r--r--usr.bin/ssh/auth1.c5
-rw-r--r--usr.bin/ssh/auth2.c2
-rw-r--r--usr.bin/ssh/sshd.c1
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)
{