From: ben Date: Sat, 10 May 2003 12:54:29 +0000 (+0000) Subject: Make ssh_agent_callback() and ssh_agentf_callback() static. X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/putty/commitdiff_plain/f11d78f2647ddf2f7c8f457fa4847da7193cda1b?ds=sidebyside Make ssh_agent_callback() and ssh_agentf_callback() static. git-svn-id: svn://svn.tartarus.org/sgt/putty@3182 cda61777-01e9-0310-a592-d414129be87e --- 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;