mirror of
https://github.com/postgres/postgres.git
synced 2026-01-05 23:38:41 +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:
@@ -48,15 +48,15 @@ struct options
|
||||
|
||||
/* function prototypes */
|
||||
static void help(const char *progname);
|
||||
void get_opts(int, char **, struct options *);
|
||||
void get_opts(int argc, char **argv, struct options *my_opts);
|
||||
void add_one_elt(char *eltname, eary *eary);
|
||||
char *get_comma_elts(eary *eary);
|
||||
PGconn *sql_conn(struct options *);
|
||||
int sql_exec(PGconn *, const char *sql, bool quiet);
|
||||
void sql_exec_dumpalldbs(PGconn *, struct options *);
|
||||
void sql_exec_dumpalltables(PGconn *, struct options *);
|
||||
void sql_exec_searchtables(PGconn *, struct options *);
|
||||
void sql_exec_dumpalltbspc(PGconn *, struct options *);
|
||||
PGconn *sql_conn(struct options *my_opts);
|
||||
int sql_exec(PGconn *conn, const char *todo, bool quiet);
|
||||
void sql_exec_dumpalldbs(PGconn *conn, struct options *opts);
|
||||
void sql_exec_dumpalltables(PGconn *conn, struct options *opts);
|
||||
void sql_exec_searchtables(PGconn *conn, struct options *opts);
|
||||
void sql_exec_dumpalltbspc(PGconn *conn, struct options *opts);
|
||||
|
||||
/* function to parse command line options and check for some usage errors. */
|
||||
void
|
||||
|
||||
Reference in New Issue
Block a user