mirror of
https://github.com/postgres/postgres.git
synced 2025-06-16 06:01:02 +03:00
Harmonize some more function parameter names.
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 relatively recently, after the code base had parameter name mismatches fixed in bulk (see commits starting with commits4274dc22
and035ce1fe
). pg_bsd_indent still has a couple of similar inconsistencies, which I (pgeoghegan) have left untouched for now. Like all earlier commits that cleaned up function parameter names, this commit was written with help from clang-tidy.
This commit is contained in:
@ -5176,9 +5176,9 @@ TerminateBufferIO(BufferDesc *buf, bool clear_dirty, uint32 set_flag_bits)
|
||||
* possible the error condition wasn't related to the I/O.
|
||||
*/
|
||||
void
|
||||
AbortBufferIO(Buffer buf)
|
||||
AbortBufferIO(Buffer buffer)
|
||||
{
|
||||
BufferDesc *buf_hdr = GetBufferDescriptor(buf - 1);
|
||||
BufferDesc *buf_hdr = GetBufferDescriptor(buffer - 1);
|
||||
uint32 buf_state;
|
||||
|
||||
buf_state = LockBufHdr(buf_hdr);
|
||||
|
Reference in New Issue
Block a user