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.
This commit is contained in:
Valentine Krasnobaeva 2024-11-22 23:33:31 +01:00 committed by William Lallemand
parent dee247c14e
commit 3899a7ecaa

View File

@ -1803,7 +1803,7 @@ static void handle_pidfile()
* (master CLI applet is attached in master process to MASTER proxy). This * (master CLI applet is attached in master process to MASTER proxy). This
* function returns only if everything is OK. If something fails, it exits. * 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; int worker_pid;
struct mworker_proc *child; struct mworker_proc *child;
@ -3494,7 +3494,7 @@ int main(int argc, char **argv)
/* fork and run binary from command keyword in program section */ /* fork and run binary from command keyword in program section */
mworker_ext_launch_all(); mworker_ext_launch_all();
/* fork worker */ /* fork worker */
apply_master_worker_mode(); mworker_apply_master_worker_mode();
} }
/* Worker, daemon, foreground modes read the rest of the config */ /* Worker, daemon, foreground modes read the rest of the config */