diff --git a/include/types/global.h b/include/types/global.h index 0ba3b0ff7..ad157833c 100644 --- a/include/types/global.h +++ b/include/types/global.h @@ -276,6 +276,7 @@ int delete_oldpid(int pid); int main(int argc, char **argv); void deinit(void); +void run_poll_loop(void); void hap_register_build_opts(const char *str, int must_free); void hap_register_post_check(int (*fct)()); void hap_register_post_proxy_check(int (*fct)(struct proxy *)); diff --git a/src/haproxy.c b/src/haproxy.c index e23d28349..f02accf45 100644 --- a/src/haproxy.c +++ b/src/haproxy.c @@ -2616,7 +2616,7 @@ void deinit(void) /* Runs the polling loop */ -static void run_poll_loop() +void run_poll_loop() { int next, wake;