1
0
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:
David Steele
2023-01-02 15:24:51 +07:00
parent 9e29c01891
commit f018912908
361 changed files with 1893 additions and 1889 deletions

View File

@ -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);