X-Git-Url: https://www.tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=src%2Fnet_setup.c;h=f18e3bfe46896d6a4d29d4d0ff308c6d9805441e;hp=cc6ef68063c885ebb738c4a201cbc0e9fad3e3b7;hb=6d08eb1614b59d5f86a43edda9db06fca72b76cd;hpb=07ffb1a19859791d419b83a876ba552dadedbf46 diff --git a/src/net_setup.c b/src/net_setup.c index cc6ef680..f18e3bfe 100644 --- a/src/net_setup.c +++ b/src/net_setup.c @@ -144,7 +144,7 @@ bool read_rsa_public_key(connection_t *c) { return false; } -bool read_rsa_private_key(void) { +static bool read_rsa_private_key(void) { FILE *fp; char *fname, *key, *pubkey; struct stat s; @@ -267,7 +267,7 @@ void load_all_subnets(void) { /* Configure node_t myself and set up the local sockets (listen only) */ -bool setup_myself(void) { +static bool setup_myself(void) { config_t *cfg; subnet_t *subnet; char *name, *hostname, *mode, *afname, *cipher, *digest;