]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
cmake: tidy up detection C code
authorViktor Szakats <commit@vsz.me>
Tue, 8 Oct 2024 11:16:16 +0000 (13:16 +0200)
committerViktor Szakats <commit@vsz.me>
Thu, 10 Oct 2024 12:29:35 +0000 (14:29 +0200)
Closes #15195

CMake/CurlTests.c

index 5797586541ce18186dc825d98a8bd81574e91bc0..3fc3c86ba8845e4ac75c5f23a03d5dfae85ad8b1 100644 (file)
@@ -50,6 +50,7 @@ int main(void)
   int flags = 0;
   if(0 != fcntl(0, F_SETFL, flags | O_NONBLOCK))
     return 1;
+  ;
   return 0;
 }
 #endif
@@ -159,7 +160,7 @@ int main(void) { return 0; }
   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
                        && LARGE_OFF_T % 2147483647 == 1)
                       ? 1 : -1];
-int main(void) { return 0; }
+int main(void) { return 0; }
 #endif
 
 #ifdef HAVE_IOCTLSOCKET