From 763f9bf2c5117c4a1c475483303e65ed18a5b8c3 Mon Sep 17 00:00:00 2001 From: Tatsuo Ishii Date: Thu, 10 Feb 2022 08:58:26 +0900 Subject: [PATCH] Fix missed static declaration. The static declaration of fork_follow_child() was missing. --- src/main/pgpool_main.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main/pgpool_main.c b/src/main/pgpool_main.c index a612a5bd7..e6e6cbbd2 100644 --- a/src/main/pgpool_main.c +++ b/src/main/pgpool_main.c @@ -5,7 +5,7 @@ * pgpool: a language independent connection pool server for PostgreSQL * written by Tatsuo Ishii * - * Copyright (c) 2003-2021 PgPool Global Development Group + * Copyright (c) 2003-2022 PgPool Global Development Group * * Permission to use, copy, modify, and distribute this software and * its documentation for any purpose and without fee is hereby @@ -3185,7 +3185,8 @@ static int find_primary_node_repeatedly(void) /* * fork a follow child */ -pid_t fork_follow_child(int old_master, int new_primary, int old_primary) +static pid_t +fork_follow_child(int old_master, int new_primary, int old_primary) { pid_t pid; int i; -- 2.39.5