diff options
author | Joe Orton <jorton@apache.org> | 2023-01-17 09:04:34 +0000 |
---|---|---|
committer | Joe Orton <jorton@apache.org> | 2023-01-17 09:04:34 +0000 |
commit | a8c73cd6c8a2322f18cdf8efafe4a6af796dad2d (patch) | |
tree | 29b7c506fe874c506020862469ce87459c1115b4 | |
parent | 7ca67c92036bab41c94d539b77431cf79d814e58 (diff) | |
download | apr-a8c73cd6c8a2322f18cdf8efafe4a6af796dad2d.tar.gz |
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
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/branches/1.8.x@1906724 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | configure.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.in b/configure.in index 9cdff8f95..206cb62d1 100644 --- a/configure.in +++ b/configure.in @@ -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; |