]> git.meshlink.io Git - meshlink/blobdiff - src/protocol_key.c
Return false instead of void when there is an error.
[meshlink] / src / protocol_key.c
index 6ff68d274cacf0eb842e33ace179913a322257b0..f34ebaa585a64ec21416aaab565ba976c7f9d793 100644 (file)
@@ -34,9 +34,9 @@
 #include "utils.h"
 #include "xalloc.h"
 
-bool mykeyused = false;
+static bool mykeyused = false;
 
-void send_key_changed() {
+void send_key_changed(void) {
        avl_node_t *node;
        connection_t *c;