aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2024-07-05 17:32:55 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2024-07-05 17:32:55 -0400
commit8212625e53f28ce2fb9f779f9fa5c003dba904d4 (patch)
tree61ad89155dac6f21d1351418d853ef4459256770
parent0b1fe1413ea84a381489ed1d1f718cb710229ab3 (diff)
downloadpostgresql-8212625e53f28ce2fb9f779f9fa5c003dba904d4.tar.gz
postgresql-8212625e53f28ce2fb9f779f9fa5c003dba904d4.zip
Fix placement of "static".
Various buildfarm critters were complaining about pgbench.c:304:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration] Evidently a thinko in 720b0eaae.
-rw-r--r--src/bin/pgbench/pgbench.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/pgbench/pgbench.c b/src/bin/pgbench/pgbench.c
index e3dc6f9b190..61618f2e188 100644
--- a/src/bin/pgbench/pgbench.c
+++ b/src/bin/pgbench/pgbench.c
@@ -301,7 +301,7 @@ static const char *progname;
#define WSEP '@' /* weight separator */
-volatile static sig_atomic_t timer_exceeded = false; /* flag from signal
+static volatile sig_atomic_t timer_exceeded = false; /* flag from signal
* handler */
/*