X-Git-Url: https://www.tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Fsptps_test.c;h=1da0571c6fc8b2ee1c4ad54d49b3e99046d853b0;hb=df716df33af8e9a5b93d573a023ecd7fc24d9a03;hp=0f62af01dbaf318f559597aaa14b1da3c53a457f;hpb=09dda64ce99668c918fada04b9ad6bf9cd2ab104;p=tinc diff --git a/src/sptps_test.c b/src/sptps_test.c index 0f62af01..1da0571c 100644 --- a/src/sptps_test.c +++ b/src/sptps_test.c @@ -35,6 +35,7 @@ #include "protocol.h" #include "sptps.h" #include "utils.h" +#include "names.h" #ifndef HAVE_MINGW #define closesocket(s) close(s) @@ -56,7 +57,6 @@ bool send_meta(struct connection_t *c, const void *msg, size_t len) { return false; } -char *logfilename = NULL; bool do_detach = false; struct timeval now; @@ -136,8 +136,6 @@ static struct option const long_options[] = { {NULL, 0, NULL, 0} }; -const char *program_name; - static void usage(void) { static const char *message = "Usage: %s [options] my_ed25519_key_file his_ed25519_key_file [host] port\n"