diff options
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/bootstrap/bootstrap.h | 2 | ||||
-rw-r--r-- | src/include/parser/scanner.h | 2 | ||||
-rw-r--r-- | src/include/replication/walsender_private.h | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/include/bootstrap/bootstrap.h b/src/include/bootstrap/bootstrap.h index 89f5b01b31a..c825adc4037 100644 --- a/src/include/bootstrap/bootstrap.h +++ b/src/include/bootstrap/bootstrap.h @@ -57,6 +57,6 @@ extern void boot_get_type_io_data(Oid typid, extern int boot_yyparse(void); extern int boot_yylex(void); -extern void boot_yyerror(const char *str) pg_attribute_noreturn(); +extern void boot_yyerror(const char *message) pg_attribute_noreturn(); #endif /* BOOTSTRAP_H */ diff --git a/src/include/parser/scanner.h b/src/include/parser/scanner.h index 0843481517e..e775d96c742 100644 --- a/src/include/parser/scanner.h +++ b/src/include/parser/scanner.h @@ -138,7 +138,7 @@ extern core_yyscan_t scanner_init(const char *str, const ScanKeywordList *keywordlist, const uint16 *keyword_tokens); extern void scanner_finish(core_yyscan_t yyscanner); -extern int core_yylex(core_YYSTYPE *lvalp, YYLTYPE *llocp, +extern int core_yylex(core_YYSTYPE *yylval_param, YYLTYPE *yylloc_param, core_yyscan_t yyscanner); extern int scanner_errposition(int location, core_yyscan_t yyscanner); extern void setup_scanner_errposition_callback(ScannerCallbackState *scbstate, diff --git a/src/include/replication/walsender_private.h b/src/include/replication/walsender_private.h index cb4da76a896..7897c74589e 100644 --- a/src/include/replication/walsender_private.h +++ b/src/include/replication/walsender_private.h @@ -118,7 +118,7 @@ extern void WalSndSetState(WalSndState state); */ extern int replication_yyparse(void); extern int replication_yylex(void); -extern void replication_yyerror(const char *str) pg_attribute_noreturn(); +extern void replication_yyerror(const char *message) pg_attribute_noreturn(); extern void replication_scanner_init(const char *str); extern void replication_scanner_finish(void); extern bool replication_scanner_is_replication_command(void); |