diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2024-07-05 17:32:55 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2024-07-05 17:32:55 -0400 |
commit | 8212625e53f28ce2fb9f779f9fa5c003dba904d4 (patch) | |
tree | 61ad89155dac6f21d1351418d853ef4459256770 | |
parent | 0b1fe1413ea84a381489ed1d1f718cb710229ab3 (diff) | |
download | postgresql-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.c | 2 |
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 */ /* |