Thread: pgsql: Remove a boatload of useless definitions of 'int optreset'.
pgsql: Remove a boatload of useless definitions of 'int optreset'.
From
tgl@postgresql.org (Tom Lane)
Date:
Log Message: ----------- Remove a boatload of useless definitions of 'int optreset'. If we are using our own ports of getopt or getopt_long, those will define the variable for themselves; and if not, we don't need these, because we never touch the variable anyway. Modified Files: -------------- pgsql/src/backend/postmaster: postmaster.c (r1.576 -> r1.577) (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/postmaster/postmaster.c?r1=1.576&r2=1.577) pgsql/src/bin/initdb: initdb.c (r1.169 -> r1.170) (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/bin/initdb/initdb.c?r1=1.169&r2=1.170) pgsql/src/bin/pg_ctl: pg_ctl.c (r1.109 -> r1.110) (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/bin/pg_ctl/pg_ctl.c?r1=1.109&r2=1.110) pgsql/src/bin/pg_dump: pg_dump.c (r1.532 -> r1.533) (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/bin/pg_dump/pg_dump.c?r1=1.532&r2=1.533) pg_dumpall.c (r1.120 -> r1.121) (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/bin/pg_dump/pg_dumpall.c?r1=1.120&r2=1.121) pg_restore.c (r1.96 -> r1.97) (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/bin/pg_dump/pg_restore.c?r1=1.96&r2=1.97) pgsql/src/bin/psql: startup.c (r1.155 -> r1.156) (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/bin/psql/startup.c?r1=1.155&r2=1.156) pgsql/src/bin/scripts: common.c (r1.35 -> r1.36) (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/bin/scripts/common.c?r1=1.35&r2=1.36) common.h (r1.22 -> r1.23) (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/bin/scripts/common.h?r1=1.22&r2=1.23) pgsql/src/include: getopt_long.h (r1.10 -> r1.11) (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/include/getopt_long.h?r1=1.10&r2=1.11) pgsql/src/port: getopt_long.c (r1.6 -> r1.7) (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/port/getopt_long.c?r1=1.6&r2=1.7)