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:35 UTC
svn commit: r1906724 - in /apr/apr/branches/1.8.x: ./ configure.in
Author: jorton
Date: Tue Jan 17 09:04:34 2023
New Revision: 1906724
URL: http://svn.apache.org/viewvc?rev=1906724&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.8.x/ (props changed)
apr/apr/branches/1.8.x/configure.in
Propchange: apr/apr/branches/1.8.x/
------------------------------------------------------------------------------
Merged /apr/apr/trunk:r1906723
Modified: apr/apr/branches/1.8.x/configure.in
URL: http://svn.apache.org/viewvc/apr/apr/branches/1.8.x/configure.in?rev=1906724&r1=1906723&r2=1906724&view=diff
==============================================================================
--- apr/apr/branches/1.8.x/configure.in (original)
+++ apr/apr/branches/1.8.x/configure.in Tue Jan 17 09:04:34 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;