mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-13 00:57:33 -05:00
Make proxy_for_destination() static.
It's never used outside proxy.c, so there's no need to expose its declaration in proxy.h.
This commit is contained in:
4
proxy.c
4
proxy.c
@ -242,8 +242,8 @@ static int plug_proxy_accepting(Plug *p,
|
||||
* This function can accept a NULL pointer as `addr', in which case
|
||||
* it will only check the host name.
|
||||
*/
|
||||
bool proxy_for_destination (SockAddr *addr, const char *hostname,
|
||||
int port, Conf *conf)
|
||||
static bool proxy_for_destination(SockAddr *addr, const char *hostname,
|
||||
int port, Conf *conf)
|
||||
{
|
||||
int s = 0, e = 0;
|
||||
char hostip[64];
|
||||
|
Reference in New Issue
Block a user