diff options
author | Joe Orton <jorton@apache.org> | 2023-01-03 08:48:35 +0000 |
---|---|---|
committer | Joe Orton <jorton@apache.org> | 2023-01-03 08:48:35 +0000 |
commit | adca2e674d8a52fc460ae19c6331f5c4132ba114 (patch) | |
tree | 2cc3cbf6ca88efb3cb455454c399b319f91f7e65 | |
parent | 90f059b8f7b0d77af4838e31b8f43191009aaf7f (diff) | |
download | apr-adca2e674d8a52fc460ae19c6331f5c4132ba114.tar.gz |
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
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/branches/1.8.x@1906348 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | build/apr_common.m4 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build/apr_common.m4 b/build/apr_common.m4 index 0c1d2f23f..ac2312c63 100644 --- a/build/apr_common.m4 +++ b/build/apr_common.m4 @@ -499,7 +499,7 @@ AC_CACHE_CHECK([whether return code from strerror_r has type int], #include <string.h> #include <stdio.h> #include <stdlib.h> -main() +int main(void) { char buf[1024]; if (strerror_r(ERANGE, buf, sizeof buf) < 1) { |