projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0b1fe14
)
Fix placement of "static".
author
Tom Lane
<
[email protected]
>
Fri, 5 Jul 2024 21:32:55 +0000
(17:32 -0400)
committer
Tom 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
patch
|
blob
|
blame
|
history
diff --git
a/src/bin/pgbench/pgbench.c
b/src/bin/pgbench/pgbench.c
index e3dc6f9b19043ef9a72136d47fdd8da18c0894fe..61618f2e188fc8f5585bca96c3408f96b68a2056 100644
(file)
--- 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 */
/*