1 2 3 4 5 6 7 8 9
#include "gitversion.h" #include "log.h" const char *gitversion = GITVERSION; void print_version() { log_printf(L_INFO, "Tuntox built from git commit %s", gitversion); }