Fix placement of "static".
authorTom Lane <[email protected]>
Fri, 5 Jul 2024 21:32:55 +0000 (17:32 -0400)
committerTom Lane <[email protected]>
Fri, 5 Jul 2024 21:32:55 +0000 (17:32 -0400)
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

index e3dc6f9b19043ef9a72136d47fdd8da18c0894fe..61618f2e188fc8f5585bca96c3408f96b68a2056 100644 (file)
@@ -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 */
 
 /*