projects
/
oweals
/
tinc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix sparse warnings and add an extra sprinkling of const.
[oweals/tinc.git]
/
src
/
protocol_key.c
diff --git
a/src/protocol_key.c
b/src/protocol_key.c
index 6ff68d274cacf0eb842e33ace179913a322257b0..f34ebaa585a64ec21416aaab565ba976c7f9d793 100644
(file)
--- a/
src/protocol_key.c
+++ b/
src/protocol_key.c
@@
-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;