1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-10 09:58:01 +00:00

Make ssh_agent_callback() and ssh_agentf_callback() static.

[originally from svn r3182]
This commit is contained in:
Ben Harris 2003-05-10 12:54:29 +00:00
parent 25ff4e0ed9
commit ead3dee597

4
ssh.c
View File

@ -2291,7 +2291,7 @@ static int process_userpass_input(Ssh ssh, unsigned char *in, int inlen)
return 0; 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; 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); 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; struct ssh_channel *c = (struct ssh_channel *)cv;
Ssh ssh = c->ssh; Ssh ssh = c->ssh;