diff options
Diffstat (limited to 'contrib/oid2name/oid2name.c')
-rw-r--r-- | contrib/oid2name/oid2name.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/contrib/oid2name/oid2name.c b/contrib/oid2name/oid2name.c index 32d54448310..4edf02d9c70 100644 --- a/contrib/oid2name/oid2name.c +++ b/contrib/oid2name/oid2name.c @@ -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 |