mirror of
https://github.com/postgres/postgres.git
synced 2026-01-27 21:43:08 +03:00
Harmonize more parameter names in bulk.
Make sure that function declarations use names that exactly match the corresponding names from function definitions in optimizer, parser, utility, libpq, and "commands" code, as well as in remaining library code. Do the same for all code related to frontend programs (with the exception of pg_dump/pg_dumpall related code). Like other recent commits that cleaned up function parameter names, this commit was written with help from clang-tidy. Later commits will handle ecpg and pg_dump/pg_dumpall. Author: Peter Geoghegan <pg@bowt.ie> Reviewed-By: David Rowley <dgrowleyml@gmail.com> Discussion: https://postgr.es/m/CAH2-WznJt9CMM9KJTMjJh_zbL5hD9oX44qdJ4aqZtjFi-zA3Tg@mail.gmail.com
This commit is contained in:
@@ -26,8 +26,8 @@ extern char *pg_strdup(const char *in);
|
||||
extern void *pg_malloc(size_t size);
|
||||
extern void *pg_malloc0(size_t size);
|
||||
extern void *pg_malloc_extended(size_t size, int flags);
|
||||
extern void *pg_realloc(void *pointer, size_t size);
|
||||
extern void pg_free(void *pointer);
|
||||
extern void *pg_realloc(void *ptr, size_t size);
|
||||
extern void pg_free(void *ptr);
|
||||
|
||||
/*
|
||||
* Variants with easier notation and more type safety
|
||||
|
||||
Reference in New Issue
Block a user