projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
sparse fixup: warning: symbol '...' was not declared. Should it be static?
[tinc]
/
src
/
net_setup.c
diff --git
a/src/net_setup.c
b/src/net_setup.c
index
3d05ca9
..
9d20fd5
100644
(file)
--- a/
src/net_setup.c
+++ b/
src/net_setup.c
@@
-81,7
+81,7
@@
bool read_rsa_public_key(connection_t *c) {
return result;
}
return result;
}
-
bool read_rsa_private_key(
) {
+
static bool read_rsa_private_key(void
) {
FILE *fp;
char *fname;
char *n, *d;
FILE *fp;
char *fname;
char *n, *d;
@@
-220,7
+220,7
@@
void load_all_subnets(void) {
/*
Configure node_t myself and set up the local sockets (listen only)
*/
/*
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;
config_t *cfg;
subnet_t *subnet;
char *name, *hostname, *mode, *afname, *cipher, *digest;