File: fix-missing-variable-declarations

package info (click to toggle)
pg-auto-failover 2.2-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 5,368 kB
  • sloc: ansic: 58,369; python: 5,515; sql: 3,177; makefile: 629; sh: 35
file content (21 lines) | stat: -rw-r--r-- 565 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
--- a/src/monitor/pg_auto_failover.c
+++ b/src/monitor/pg_auto_failover.c
@@ -35,7 +35,7 @@
 #include "tcop/utility.h"
 
 
-ProcessUtility_hook_type PreviousProcessUtility_hook = NULL;
+static ProcessUtility_hook_type PreviousProcessUtility_hook = NULL;
 
 
 #if PG_VERSION_NUM >= 150000
--- a/src/monitor/node_metadata.c
+++ b/src/monitor/node_metadata.c
@@ -19,6 +19,7 @@
 /* list_qsort is only in Postgres 11 and 12 */
 #include "version_compat.h"
 
+#include "group_state_machine.h"
 #include "health_check.h"
 #include "metadata.h"
 #include "node_metadata.h"