diff --git a/include/haproxy/global.h b/include/haproxy/global.h index 3f6f1209ed..e058d25e21 100644 --- a/include/haproxy/global.h +++ b/include/haproxy/global.h @@ -62,6 +62,7 @@ int delete_oldpid(int pid); void hap_register_build_opts(const char *str, int must_free); int split_version(const char *version, unsigned int *value); int compare_current_version(const char *version); +void display_version(); void mworker_accept_wrapper(int fd); void mworker_reload(void); diff --git a/src/haproxy.c b/src/haproxy.c index 06b988dad2..d5c7121d98 100644 --- a/src/haproxy.c +++ b/src/haproxy.c @@ -490,7 +490,7 @@ int compare_current_version(const char *version) return 0; } -static void display_version() +void display_version() { struct utsname utsname;