summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjorton <jorton@13f79535-47bb-0310-9956-ffa450edef68>2023-01-17 09:04:34 +0000
committerjorton <jorton@13f79535-47bb-0310-9956-ffa450edef68>2023-01-17 09:04:34 +0000
commit9f95c71187d2a75f59997f19ea8ef5a571556bf9 (patch)
tree29b7c506fe874c506020862469ce87459c1115b4
parent64406c579222adce70d8ef50806c5944520bbba8 (diff)
downloadlibapr-9f95c71187d2a75f59997f19ea8ef5a571556bf9.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.in2
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;