You've already forked pgbackrest
mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2025-07-05 00:28:52 +02:00
Split VR_EXTERN/FN_EXTERN macros from FV_EXTERN.
This should make it a little clearer what the variable (VR) macros are doing since the declaration/definition cannot both be set to extern (but functions can). Splitting the variable macros out also allows them to be changed in the future with little churn, while changing the function macro creates a large amount of churn.
This commit is contained in:
@ -13,7 +13,7 @@ Include the page checksum code
|
||||
#include "postgres/interface/pageChecksum.vendor.c.inc"
|
||||
|
||||
/**********************************************************************************************************************************/
|
||||
FV_EXTERN uint16_t
|
||||
FN_EXTERN uint16_t
|
||||
pgPageChecksum(unsigned char *page, uint32_t blockNo)
|
||||
{
|
||||
return pg_checksum_page((char *)page, blockNo);
|
||||
|
Reference in New Issue
Block a user