You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by jo...@apache.org on 2023/01/17 09:04:01 UTC

svn commit: r1906723 - /apr/apr/trunk/configure.in

Author: jorton
Date: Tue Jan 17 09:04:01 2023
New Revision: 1906723

URL: http://svn.apache.org/viewvc?rev=1906723&view=rev
Log:
Further strict C99 configure fix:

Avoid an implicit int in the definition of the main function.
Avoids build problems with future C compilers which will not
support them by default.

Submitted by: Florian Weimer <fweimer redhat.com>
PR: 66426

Modified:
    apr/apr/trunk/configure.in

Modified: apr/apr/trunk/configure.in
URL: http://svn.apache.org/viewvc/apr/apr/trunk/configure.in?rev=1906723&r1=1906722&r2=1906723&view=diff
==============================================================================
--- apr/apr/trunk/configure.in (original)
+++ apr/apr/trunk/configure.in Tue Jan 17 09:04:01 2023
@@ -2316,7 +2316,7 @@ AC_TRY_RUN([
 #include <sys/time.h>
 #include <sys/resource.h>
 #include <stdlib.h>
-main()
+int main(void)
 {
     struct rlimit limit;
     limit.rlim_cur = 0;