sparse fixup: warning: symbol '...' was not declared. Should it be static?
This commit is contained in:
parent
02e32cf61e
commit
d772289f6d
11 changed files with 27 additions and 25 deletions
|
|
@ -81,7 +81,7 @@ bool read_rsa_public_key(connection_t *c) {
|
|||
return result;
|
||||
}
|
||||
|
||||
bool read_rsa_private_key() {
|
||||
static bool read_rsa_private_key(void) {
|
||||
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)
|
||||
*/
|
||||
bool setup_myself(void) {
|
||||
static bool setup_myself(void) {
|
||||
config_t *cfg;
|
||||
subnet_t *subnet;
|
||||
char *name, *hostname, *mode, *afname, *cipher, *digest;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue