MINOR: global: export the display_version() symbol

Export the display_version() function which can be used elsewhere than
in haproxy.c
This commit is contained in:
William Lallemand 2023-09-05 15:24:39 +02:00
parent aeb2f28ca7
commit d90d3bf894
2 changed files with 2 additions and 1 deletions

View File

@ -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);

View File

@ -490,7 +490,7 @@ int compare_current_version(const char *version)
return 0;
}
static void display_version()
void display_version()
{
struct utsname utsname;