summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjorton <jorton@13f79535-47bb-0310-9956-ffa450edef68>2023-01-17 09:04:01 +0000
committerjorton <jorton@13f79535-47bb-0310-9956-ffa450edef68>2023-01-17 09:04:01 +0000
commit62fd3447824eb57d1a5a163a42d12b778b0697c3 (patch)
tree34f43a2d6df61a35f96036a41e2c64d4e76d462c
parent99307aeaff973cba0b4ec9be74f05fbabaa30822 (diff)
downloadlibapr-62fd3447824eb57d1a5a163a42d12b778b0697c3.tar.gz
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/trunk@1906723 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 ab3f27db0..0e31a5b3b 100644
--- a/configure.in
+++ b/configure.in
@@ -2316,7 +2316,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;