projects
/
haproxy-3.0.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8308bec
)
TESTS: Fix build for filltab25.c
author
Olivier Houchard
<ohouchard@haproxy.com>
Thu, 3 Apr 2025 14:20:11 +0000
(16:20 +0200)
committer
Aurelien DARRAGON
<adarragon@haproxy.com>
Tue, 15 Apr 2025 18:13:27 +0000
(20:13 +0200)
Give a return type to main(), so that filltab25.c compiles with
modern compilers.
(cherry picked from commit
4715c557e98725e28faac7fce449f090e136ac0b
)
Signed-off-by: Aurelien DARRAGON <adarragon@haproxy.com>
(cherry picked from commit
fb1086c101bddb9ab49bb09d9077802da37e80d8
)
Signed-off-by: Aurelien DARRAGON <adarragon@haproxy.com>
tests/exp/filltab25.c
patch
|
blob
|
history
diff --git
a/tests/exp/filltab25.c
b/tests/exp/filltab25.c
index
1197143
..
491dbff
100644
(file)
--- a/
tests/exp/filltab25.c
+++ b/
tests/exp/filltab25.c
@@
-182,7
+182,7
@@
void switch_trees() {
p = sw;
}
-main(int argc, char **argv) {
+int main(int argc, char **argv) {
int conns;
int i;