postgres.git / summary / log / commit / refs

commit    8212625e53f28ce2fb9f779f9fa5c003dba904d4
Author:   Tom Lane <tgl@sss.pgh.pa.us>
Date:     Fri Jul 05 21:32:55 2024 +0000
First released in: 18.0

    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 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 */ /* [parent: 0b1fe1413ea8]