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/03 08:48:35 UTC
svn commit: r1906348 - in /apr/apr/branches/1.8.x: ./ build/ build/apr_common.m4
Author: jorton
Date: Tue Jan 3 08:48:35 2023
New Revision: 1906348
URL: http://svn.apache.org/viewvc?rev=1906348&view=rev
Log:
Merge r1906347 from trunk:
Fix configure for compilers which don't accept implicit
int (no longer part of C since C99).
Submitted by: Florian Weimer <fweimer redhat.com>
PR: 66396
Modified:
apr/apr/branches/1.8.x/ (props changed)
apr/apr/branches/1.8.x/build/ (props changed)
apr/apr/branches/1.8.x/build/apr_common.m4
Propchange: apr/apr/branches/1.8.x/
------------------------------------------------------------------------------
Merged /apr/apr/trunk:r1906347
Propchange: apr/apr/branches/1.8.x/build/
------------------------------------------------------------------------------
Merged /apr/apr/trunk/build:r1906347
Modified: apr/apr/branches/1.8.x/build/apr_common.m4
URL: http://svn.apache.org/viewvc/apr/apr/branches/1.8.x/build/apr_common.m4?rev=1906348&r1=1906347&r2=1906348&view=diff
==============================================================================
--- apr/apr/branches/1.8.x/build/apr_common.m4 (original)
+++ apr/apr/branches/1.8.x/build/apr_common.m4 Tue Jan 3 08:48:35 2023
@@ -499,7 +499,7 @@ AC_CACHE_CHECK([whether return code from
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
-main()
+int main(void)
{
char buf[1024];
if (strerror_r(ERANGE, buf, sizeof buf) < 1) {