diff options
author | jorton <jorton@13f79535-47bb-0310-9956-ffa450edef68> | 2023-01-03 08:48:35 +0000 |
---|---|---|
committer | jorton <jorton@13f79535-47bb-0310-9956-ffa450edef68> | 2023-01-03 08:48:35 +0000 |
commit | 3751c46cc13a3930e9b62feae731f04df454e6fd (patch) | |
tree | 2cc3cbf6ca88efb3cb455454c399b319f91f7e65 | |
parent | 815e0f8a8eaf836326a8f5f4189db568f67aeee0 (diff) | |
download | libapr-3751c46cc13a3930e9b62feae731f04df454e6fd.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) { |