From: Tom Lane Date: Fri, 5 Jul 2024 21:32:55 +0000 (-0400) Subject: Fix placement of "static". X-Git-Tag: REL_18_BETA1~2461 X-Git-Url: http://git.postgresql.org/gitweb/?a=commitdiff_plain;h=8212625e53f28ce2fb9f779f9fa5c003dba904d4;p=postgresql.git 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. --- 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 */ /*