summaryrefslogtreecommitdiff
path: root/src/bin/pg_combinebackup/reconstruct.c
diff options
context:
space:
mode:
authorPeter Geoghegan <pg@bowt.ie>2024-06-12 17:01:51 -0400
committerPeter Geoghegan <pg@bowt.ie>2024-06-12 17:01:51 -0400
commit6207f08f700ddc874765919202727fb0171b5403 (patch)
treea1781e4c75cf2c334976322ad823bbfaf7d94c06 /src/bin/pg_combinebackup/reconstruct.c
parenta0fe90efef91fcd578a85a0f0c5bcab55285b1d7 (diff)
Harmonize function parameter names for Postgres 17.
Make sure that function declarations use names that exactly match the corresponding names from function definitions in a few places. These inconsistencies were all introduced during Postgres 17 development. pg_bsd_indent still has a couple of similar inconsistencies, which I (pgeoghegan) have left untouched for now. This commit was written with help from clang-tidy, by mechanically applying the same rules as similar clean-up commits (the earliest such commit was commit 035ce1fe).
Diffstat (limited to 'src/bin/pg_combinebackup/reconstruct.c')
-rw-r--r--src/bin/pg_combinebackup/reconstruct.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/pg_combinebackup/reconstruct.c b/src/bin/pg_combinebackup/reconstruct.c
index c584c63e5d5..4c03da77fba 100644
--- a/src/bin/pg_combinebackup/reconstruct.c
+++ b/src/bin/pg_combinebackup/reconstruct.c
@@ -62,7 +62,7 @@ static void write_reconstructed_file(char *input_filename,
bool debug,
bool dry_run);
static void read_bytes(rfile *rf, void *buffer, unsigned length);
-static void write_block(int wfd, char *output_filename,
+static void write_block(int fd, char *output_filename,
uint8 *buffer,
pg_checksum_context *checksum_ctx);
static void read_block(rfile *s, off_t off, uint8 *buffer);