]> git.meshlink.io Git - meshlink/blobdiff - src/libmeshlink.h
Fix compiler warnings.
[meshlink] / src / libmeshlink.h
index af1c1bab07c4ebe9bba6cf643638d34c8ce4857a..e70f89f074c025def11132971750f77622ab9a7f 100644 (file)
@@ -27,9 +27,9 @@
 extern char *hosts_dir;
 extern FILE *fopenmask(const char *filename, const char *mode, mode_t perms);
 
-extern int check_port(char *name);
+extern int check_port(const char *name);
 
-bool tinc_main_thread(void * in);
+void *tinc_main_thread(void * in);
 
 /* OLD: tinc_configuration_t provides all information required to setup "/etc/tinc"
 I think tinc_setup() should basically do what cmd_init() from src/tincctl.c does, except it doesn't have to generate a tinc-up script.