From 8212625e53f28ce2fb9f779f9fa5c003dba904d4 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Fri, 5 Jul 2024 17:32:55 -0400 Subject: [PATCH] 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. --- src/bin/pgbench/pgbench.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/pgbench/pgbench.c b/src/bin/pgbench/pgbench.c index e3dc6f9b19..61618f2e18 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 */ /*