mirror of
https://github.com/postgres/postgres.git
synced 2025-07-28 23:42:10 +03:00
Harmonize parameter names in contrib code.
Make sure that function declarations use names that exactly match the corresponding names from function definitions in contrib code. Like other recent commits that cleaned up function parameter names, this commit was written with help from clang-tidy. Author: Peter Geoghegan <pg@bowt.ie> Discussion: https://postgr.es/m/CAH2-WznJt9CMM9KJTMjJh_zbL5hD9oX44qdJ4aqZtjFi-zA3Tg@mail.gmail.com
This commit is contained in:
@ -45,7 +45,8 @@ PG_MODULE_MAGIC;
|
||||
/* private stuff */
|
||||
|
||||
typedef int (*PFN) (const char *name, void **res);
|
||||
static void *find_provider(text *name, PFN pf, const char *desc, int silent);
|
||||
static void *find_provider(text *name, PFN provider_lookup, const char *desc,
|
||||
int silent);
|
||||
|
||||
/* SQL function: hash(bytea, text) returns bytea */
|
||||
PG_FUNCTION_INFO_V1(pg_digest);
|
||||
|
Reference in New Issue
Block a user