TESTS: Fix build for filltab25.c
authorOlivier Houchard <ohouchard@haproxy.com>
Thu, 3 Apr 2025 14:20:11 +0000 (16:20 +0200)
committerAurelien 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

index 1197143..491dbff 100644 (file)
@@ -182,7 +182,7 @@ void switch_trees() {
        p = sw;
 }
 
-main(int argc, char **argv) {
+int main(int argc, char **argv) {
        int conns;
        int i;