]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
TESTS: Fix build for filltab25.c
authorOlivier Houchard <ohouchard@haproxy.com>
Thu, 3 Apr 2025 14:20:11 +0000 (16:20 +0200)
committerOlivier Houchard <cognet@ci0.org>
Thu, 3 Apr 2025 13:59:41 +0000 (15:59 +0200)
Give a return type to main(), so that filltab25.c compiles with
modern compilers.

tests/exp/filltab25.c

index 1197143256e1f1051eb270172cf0e4f619e07f0a..491dbff3ec316bcf18a99a5417d00562fa69074e 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;