Fix missed static declaration.
authorTatsuo Ishii <ishii@sraoss.co.jp>
Wed, 9 Feb 2022 23:58:26 +0000 (08:58 +0900)
committerTatsuo Ishii <ishii@sraoss.co.jp>
Thu, 10 Feb 2022 00:01:12 +0000 (09:01 +0900)
The static declaration of fork_follow_child() was missing.

src/main/pgpool_main.c

index 7844dedb38716ac52251dc8b830af008b7dfcf4f..791fa9504c329618b0a77c319f950ed9da6d181c 100644 (file)
@@ -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
@@ -3605,7 +3605,7 @@ find_primary_node_repeatedly(void)
 /*
 * fork a follow child
 */
-pid_t
+static pid_t
 fork_follow_child(int old_master, int new_primary, int old_primary)
 {
        pid_t           pid;