1
0
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:
Simon Tatham
2019-07-28 11:38:40 +01:00
parent 0901590791
commit 7663e55526
2 changed files with 2 additions and 4 deletions

View File

@ -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];