Skip to content

Commit

Permalink
MINOR: startup: prefix apply_master_worker_mode with mworker_*
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
einval22 authored and wlallemand committed Nov 25, 2024
1 parent dee247c commit 3899a7e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/haproxy.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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 */
Expand Down

0 comments on commit 3899a7e

Please sign in to comment.