Fix sparse warnings and add an extra sprinkling of const.
This is more or less the equivalent of Sven-Haegar Koch's fixes in the 1.1 branch.
This commit is contained in:
parent
07ffb1a198
commit
6d08eb1614
35 changed files with 83 additions and 75 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue