]> git.meshlink.io Git - meshlink/blobdiff - src/tincd.c
sparse fixup: warning: symbol '...' was not declared. Should it be static?
[meshlink] / src / tincd.c
index 6256c91550321e3ae5be9b2adca92ff5d7b61174..25db1552d43e2f9c2bf3ff0672a0951208973eca 100644 (file)
 #include "xalloc.h"
 
 /* The name this program was run with. */
-char *program_name = NULL;
+static char *program_name = NULL;
 
 /* If nonzero, display usage information and exit. */
-bool show_help = false;
+static bool show_help = false;
 
 /* If nonzero, print the version on standard output and exit.  */
-bool show_version = false;
+static bool show_version = false;
 
 /* If nonzero, use null ciphers and skip all key exchanges. */
 bool bypass_security = false;
 
 /* If nonzero, disable swapping for this process. */
-bool do_mlock = false;
+static bool do_mlock = false;
 
 /* If nonzero, chroot to netdir after startup. */
 static bool do_chroot = false;