Remove a boatload of useless definitions of 'int optreset'. If we
Tom Lane <tgl@sss.pgh.pa.us>
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.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/postmaster/postmaster.c | modified | +2 −2 |
| src/bin/initdb/initdb.c | modified | +1 −5 |
| src/bin/pg_ctl/pg_ctl.c | modified | +1 −5 |
| src/bin/pg_dump/pg_dumpall.c | modified | +1 −5 |
| src/bin/pg_dump/pg_dump.c | modified | +1 −5 |
| src/bin/pg_dump/pg_restore.c | modified | +1 −5 |
| src/bin/psql/startup.c | modified | +1 −6 |
| src/bin/scripts/common.c | modified | +1 −5 |
| src/bin/scripts/common.h | modified | +1 −5 |
| src/include/getopt_long.h | modified | +1 −3 |
| src/port/getopt_long.c | modified | +2 −1 |