From: Valentine Krasnobaeva Date: Fri, 22 Nov 2024 22:33:31 +0000 (+0100) Subject: MINOR: startup: prefix apply_master_worker_mode with mworker_* X-Git-Tag: v3.1.0~14 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3899a7ecaa487fd49cddcbd5b82bfa74c698fc24;p=thirdparty%2Fhaproxy.git MINOR: startup: prefix apply_master_worker_mode with mworker_* This patch prepares the move of apply_master_worker_mode in mworker.c. So, let's at first rename it to mworker_apply_master_worker_mode. --- diff --git a/src/haproxy.c b/src/haproxy.c index ca31b89586..4590ea364d 100644 --- a/src/haproxy.c +++ b/src/haproxy.c @@ -1803,7 +1803,7 @@ static void handle_pidfile() * (master CLI applet is attached in master process to MASTER proxy). This * function returns only if everything is OK. If something fails, it exits. */ -static void apply_master_worker_mode() +static void mworker_apply_master_worker_mode() { int worker_pid; struct mworker_proc *child; @@ -3494,7 +3494,7 @@ int main(int argc, char **argv) /* fork and run binary from command keyword in program section */ mworker_ext_launch_all(); /* fork worker */ - apply_master_worker_mode(); + mworker_apply_master_worker_mode(); } /* Worker, daemon, foreground modes read the rest of the config */