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:
parent
25ff4e0ed9
commit
ead3dee597
4
ssh.c
4
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;
|
||||
|
Loading…
Reference in New Issue
Block a user