diff options
Diffstat (limited to 'src/backend/replication')
-rw-r--r-- | src/backend/replication/repl_gram.y | 5 | ||||
-rw-r--r-- | src/backend/replication/syncrep_gram.y | 4 |
2 files changed, 9 insertions, 0 deletions
diff --git a/src/backend/replication/repl_gram.y b/src/backend/replication/repl_gram.y index 53780bbf297..c46ca395263 100644 --- a/src/backend/replication/repl_gram.y +++ b/src/backend/replication/repl_gram.y @@ -23,6 +23,11 @@ #include "replication/walsender_private.h" +/* silence -Wmissing-variable-declarations */ +extern int replication_yychar; +extern int replication_yynerrs; + + /* Result of the parsing is returned here */ Node *replication_parse_result; diff --git a/src/backend/replication/syncrep_gram.y b/src/backend/replication/syncrep_gram.y index a14f63b6582..5ce4f1bfe73 100644 --- a/src/backend/replication/syncrep_gram.y +++ b/src/backend/replication/syncrep_gram.y @@ -24,6 +24,10 @@ char *syncrep_parse_error_msg; static SyncRepConfigData *create_syncrep_config(const char *num_sync, List *members, uint8 syncrep_method); +/* silence -Wmissing-variable-declarations */ +extern int syncrep_yychar; +extern int syncrep_yynerrs; + /* * Bison doesn't allocate anything that needs to live across parser calls, * so we can easily have it use palloc instead of malloc. This prevents |