]> git.meshlink.io Git - meshlink/blobdiff - src/net_setup.c
Fix more compiler warnings.
[meshlink] / src / net_setup.c
index ceaeb0c5b1fb9f0502c65e34d23931e44f0221c4..af49ea09944092fa0b2d90575cb660c0c290924b 100644 (file)
@@ -521,7 +521,7 @@ static bool add_listen_sockets(meshlink_handle_t *mesh) {
 /*
   Configure node_t mesh->self and set up the local sockets (listen only)
 */
-bool setup_myself(meshlink_handle_t *mesh) {
+static bool setup_myself(meshlink_handle_t *mesh) {
        /* Set some defaults */
 
        mesh->maxtimeout = 900;