]> git.meshlink.io Git - meshlink/blobdiff - src/tincctl.c
sparse fixup: warning: symbol '...' was not declared. Should it be static?
[meshlink] / src / tincctl.c
index 000d383eb0dd4f863cad694d5b3f8ec43d3042c1..5477fd0e4b4cbb2139b93fcb1e2f39b07b9197be 100644 (file)
 #include "top.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, it will attempt to kill a running tincd and exit. */
-int kill_tincd = 0;
+static int kill_tincd = 0;
 
 /* If nonzero, generate public/private keypair for this host/net. */
-int generate_keys = 0;
+static int generate_keys = 0;
 
 static char *name = NULL;
 static char *identname = NULL;                         /* program name for syslog */