From 3ebd55ee5154910241cc7541772e039f510b6750 Mon Sep 17 00:00:00 2001 From: Willy Tarreau Date: Tue, 3 Mar 2020 14:59:56 +0100 Subject: [PATCH] MINOR: haproxy: export run_poll_loop This will help refine debug traces. --- include/types/global.h | 1 + src/haproxy.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/include/types/global.h b/include/types/global.h index 0ba3b0ff70..ad157833cd 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 e23d283499..f02accf454 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; -- 2.47.3