summaryrefslogtreecommitdiff
path: root/src/include/access
diff options
context:
space:
mode:
authorMichael Paquier2022-08-04 08:36:21 +0000
committerMichael Paquier2022-08-04 08:36:21 +0000
commit245e14e28b298e6ed00ea8d8c607b62387c9da92 (patch)
tree056ae7cee2c758f4fe62708843eb644d1b739531 /src/include/access
parent56f2c7b58bda00ea5ecc56a93467ed9eae6b3db7 (diff)
Fix inconsistent comments for some function declarations in headers
Some of the headers list a couple of function prototypes located in a different file than what is referred to. This fixes a couple of places where this inconsistency exists. Author: Richard Guo Discussion: https://postgr.es/m/CAMbWs4__RdcSNXPa7L62Ozvo_Q4LvT60o3Bnp8yrQ_m9y5CKvg@mail.gmail.com
Diffstat (limited to 'src/include/access')
-rw-r--r--src/include/access/nbtxlog.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/include/access/nbtxlog.h b/src/include/access/nbtxlog.h
index d79489efe47..dd504d18851 100644
--- a/src/include/access/nbtxlog.h
+++ b/src/include/access/nbtxlog.h
@@ -342,10 +342,14 @@ typedef struct xl_btree_newroot
* prototypes for functions in nbtxlog.c
*/
extern void btree_redo(XLogReaderState *record);
-extern void btree_desc(StringInfo buf, XLogReaderState *record);
-extern const char *btree_identify(uint8 info);
extern void btree_xlog_startup(void);
extern void btree_xlog_cleanup(void);
extern void btree_mask(char *pagedata, BlockNumber blkno);
+/*
+ * prototypes for functions in nbtdesc.c
+ */
+extern void btree_desc(StringInfo buf, XLogReaderState *record);
+extern const char *btree_identify(uint8 info);
+
#endif /* NBTXLOG_H */