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:05:29 UTC

svn commit: r1906725 - in /apr/apr/branches/1.7.x: ./ CHANGES configure.in

Author: jorton
Date: Tue Jan 17 09:05:29 2023
New Revision: 1906725

URL: http://svn.apache.org/viewvc?rev=1906725&view=rev
Log:
Merge r1906723 from trunk:

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/branches/1.7.x/   (props changed)
    apr/apr/branches/1.7.x/CHANGES
    apr/apr/branches/1.7.x/configure.in

Propchange: apr/apr/branches/1.7.x/
------------------------------------------------------------------------------
  Merged /apr/apr/trunk:r1906723

Modified: apr/apr/branches/1.7.x/CHANGES
URL: http://svn.apache.org/viewvc/apr/apr/branches/1.7.x/CHANGES?rev=1906725&r1=1906724&r2=1906725&view=diff
==============================================================================
--- apr/apr/branches/1.7.x/CHANGES [utf-8] (original)
+++ apr/apr/branches/1.7.x/CHANGES [utf-8] Tue Jan 17 09:05:29 2023
@@ -7,7 +7,7 @@ Changes for APR 1.7.1
      later 1.6.x releases, but was missing in 1.7.0.)  [Stefan Sperling]
 
   *) configure: Fix various build issues for compilers enforcing
-     strict C99 compliance.  PR 66396, 66408.
+     strict C99 compliance.  PR 66396, 66408, 66426.
      [Florian Weimer <fweimer redhat.com>, Sam James <sam gentoo.org>]
 
   *) apr_atomic_read64(): Fix non-atomic read on 32-bit Windows [Ivan Zhakov]

Modified: apr/apr/branches/1.7.x/configure.in
URL: http://svn.apache.org/viewvc/apr/apr/branches/1.7.x/configure.in?rev=1906725&r1=1906724&r2=1906725&view=diff
==============================================================================
--- apr/apr/branches/1.7.x/configure.in (original)
+++ apr/apr/branches/1.7.x/configure.in Tue Jan 17 09:05:29 2023
@@ -2332,7 +2332,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;