aboutsummaryrefslogtreecommitdiff
path: root/contrib/pg_test_fsync/pg_test_fsync.c
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2012-11-30 14:49:55 -0500
committerBruce Momjian <bruce@momjian.us>2012-11-30 14:49:55 -0500
commitbd9c8e741b5724e31b2a3d8da9f0218f7b3b44e5 (patch)
tree5a322322aab3af9c3847155431e7bb0d9400e911 /contrib/pg_test_fsync/pg_test_fsync.c
parentda63fec7dbb0c459aa0f8753a3d30a3a6cd3d73f (diff)
downloadpostgresql-bd9c8e741b5724e31b2a3d8da9f0218f7b3b44e5.tar.gz
postgresql-bd9c8e741b5724e31b2a3d8da9f0218f7b3b44e5.zip
Move long_options structures to the top of main() functions, for
consistency. Per suggestion from Tom.
Diffstat (limited to 'contrib/pg_test_fsync/pg_test_fsync.c')
-rw-r--r--contrib/pg_test_fsync/pg_test_fsync.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/contrib/pg_test_fsync/pg_test_fsync.c b/contrib/pg_test_fsync/pg_test_fsync.c
index efa1b3284ec..ec4b90c7974 100644
--- a/contrib/pg_test_fsync/pg_test_fsync.c
+++ b/contrib/pg_test_fsync/pg_test_fsync.c
@@ -140,6 +140,7 @@ handle_args(int argc, char *argv[])
{"secs-per-test", required_argument, NULL, 's'},
{NULL, 0, NULL, 0}
};
+
int option; /* Command line option */
int optindex = 0; /* used by getopt_long */