From bfcf1b34805f70df48eedeec237230d0cc1154a6 Mon Sep 17 00:00:00 2001 From: Peter Geoghegan Date: Mon, 19 Sep 2022 19:18:36 -0700 Subject: Harmonize parameter names in storage and AM code. Make sure that function declarations use names that exactly match the corresponding names from function definitions in storage, catalog, access method, executor, and logical replication code, as well as in miscellaneous utility/library code. Like other recent commits that cleaned up function parameter names, this commit was written with help from clang-tidy. Later commits will do the same for other parts of the codebase. Author: Peter Geoghegan Reviewed-By: David Rowley Discussion: https://postgr.es/m/CAH2-WznJt9CMM9KJTMjJh_zbL5hD9oX44qdJ4aqZtjFi-zA3Tg@mail.gmail.com --- src/backend/lib/bloomfilter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/backend/lib') diff --git a/src/backend/lib/bloomfilter.c b/src/backend/lib/bloomfilter.c index 465ca7cf673..3ef67d35acb 100644 --- a/src/backend/lib/bloomfilter.c +++ b/src/backend/lib/bloomfilter.c @@ -55,7 +55,7 @@ static int my_bloom_power(uint64 target_bitset_bits); static int optimal_k(uint64 bitset_bits, int64 total_elems); static void k_hashes(bloom_filter *filter, uint32 *hashes, unsigned char *elem, size_t len); -static inline uint32 mod_m(uint32 a, uint64 m); +static inline uint32 mod_m(uint32 val, uint64 m); /* * Create Bloom filter in caller's memory context. We aim for a false positive -- cgit v1.2.3