From ead3dee597614b3e08ddd570b93b14f95fb72a76 Mon Sep 17 00:00:00 2001 From: Ben Harris Date: Sat, 10 May 2003 12:54:29 +0000 Subject: [PATCH] Make ssh_agent_callback() and ssh_agentf_callback() static. [originally from svn r3182] --- ssh.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ssh.c b/ssh.c index 337cfa8b..2b33bea3 100644 --- a/ssh.c +++ b/ssh.c @@ -2291,7 +2291,7 @@ static int process_userpass_input(Ssh ssh, unsigned char *in, int inlen) return 0; } -void ssh_agent_callback(void *sshv, void *reply, int replylen) +static void ssh_agent_callback(void *sshv, void *reply, int replylen) { Ssh ssh = (Ssh) sshv; @@ -2304,7 +2304,7 @@ void ssh_agent_callback(void *sshv, void *reply, int replylen) do_ssh2_authconn(ssh, NULL, -1, 0); } -void ssh_agentf_callback(void *cv, void *reply, int replylen) +static void ssh_agentf_callback(void *cv, void *reply, int replylen) { struct ssh_channel *c = (struct ssh_channel *)cv; Ssh ssh = c->ssh;