1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-07-01 03:22:48 -05:00

Add a batch of missing 'static's.

This commit is contained in:
Simon Tatham
2022-09-03 12:02:48 +01:00
parent c12cde1bea
commit 9a84a89c32
16 changed files with 74 additions and 67 deletions

View File

@ -26,7 +26,8 @@ strbuf *chap_response(ptrlen challenge, ptrlen password)
return sb;
}
void BinarySink_put_hex_data(BinarySink *bs, const void *vptr, size_t len)
static void BinarySink_put_hex_data(BinarySink *bs, const void *vptr,
size_t len)
{
const unsigned char *p = (const unsigned char *)vptr;
const char *hexdigits = "0123456789abcdef";

View File

@ -35,7 +35,7 @@ static void proxy_negotiator_cleanup(ProxySocket *ps)
* Call this when proxy negotiation is complete, so that this
* socket can begin working normally.
*/
void proxy_activate(ProxySocket *ps)
static void proxy_activate(ProxySocket *ps)
{
size_t output_before, output_after;