summaryrefslogtreecommitdiff
path: root/usr.bin/ssh/serverloop.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2006-03-19 18:56:43 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2006-03-19 18:56:43 +0000
commitf4494404c45da62a27398ff888487d63369de4e7 (patch)
treebe7dfde0eb6d3eb96afd1210c100ef2843939a57 /usr.bin/ssh/serverloop.c
parent9643d67d8e8ef1f8bb5f43ecf5927d708115084e (diff)
ARGSUSED for signal handlers
Diffstat (limited to 'usr.bin/ssh/serverloop.c')
-rw-r--r--usr.bin/ssh/serverloop.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/ssh/serverloop.c b/usr.bin/ssh/serverloop.c
index 422a8febfb5..26adf31a266 100644
--- a/usr.bin/ssh/serverloop.c
+++ b/usr.bin/ssh/serverloop.c
@@ -147,6 +147,7 @@ notify_done(fd_set *readset)
debug2("notify_done: reading");
}
+/*ARGSUSED*/
static void
sigchld_handler(int sig)
{
@@ -157,6 +158,7 @@ sigchld_handler(int sig)
errno = save_errno;
}
+/*ARGSUSED*/
static void
sigterm_handler(int sig)
{
@@ -940,7 +942,7 @@ server_request_tun(void)
tun = packet_get_int();
if (forced_tun_device != -1) {
- if (tun != SSH_TUNID_ANY && forced_tun_device != tun)
+ if (tun != SSH_TUNID_ANY && forced_tun_device != tun)
goto done;
tun = forced_tun_device;
}