mirror of
https://github.com/postgres/postgres.git
synced 2025-07-27 12:41:57 +03:00
Mark misc static global variables as const
Reviewed-by: Andres Freund Discussion: https://www.postgresql.org/message-id/54c29fb0-edf2-48ea-9814-44e918bbd6e8@iki.fi
This commit is contained in:
@ -62,7 +62,7 @@ void sql_exec_dumpalltbspc(PGconn *conn, struct options *opts);
|
||||
void
|
||||
get_opts(int argc, char **argv, struct options *my_opts)
|
||||
{
|
||||
static struct option long_options[] = {
|
||||
static const struct option long_options[] = {
|
||||
{"dbname", required_argument, NULL, 'd'},
|
||||
{"host", required_argument, NULL, 'h'},
|
||||
{"host", required_argument, NULL, 'H'}, /* deprecated */
|
||||
|
Reference in New Issue
Block a user