summaryrefslogtreecommitdiffhomepage
path: root/auto/types
diff options
context:
space:
mode:
Diffstat (limited to 'auto/types')
-rw-r--r--auto/types/sizeof2
-rw-r--r--auto/types/typedef2
-rw-r--r--auto/types/uintptr_t2
3 files changed, 3 insertions, 3 deletions
diff --git a/auto/types/sizeof b/auto/types/sizeof
index b5b71bb98..480d8cfa4 100644
--- a/auto/types/sizeof
+++ b/auto/types/sizeof
@@ -25,7 +25,7 @@ $NGX_INCLUDE_UNISTD_H
$NGX_INCLUDE_INTTYPES_H
$NGX_INCLUDE_AUTO_CONFIG_H
-int main() {
+int main(void) {
printf("%d", (int) sizeof($ngx_type));
return 0;
}
diff --git a/auto/types/typedef b/auto/types/typedef
index b55237e93..d54c28978 100644
--- a/auto/types/typedef
+++ b/auto/types/typedef
@@ -27,7 +27,7 @@ do
#include <netinet/in.h>
$NGX_INCLUDE_INTTYPES_H
-int main() {
+int main(void) {
$ngx_try i = 0;
return (int) i;
}
diff --git a/auto/types/uintptr_t b/auto/types/uintptr_t
index 2b7212ebe..7db6e4506 100644
--- a/auto/types/uintptr_t
+++ b/auto/types/uintptr_t
@@ -19,7 +19,7 @@ cat << END > $NGX_AUTOTEST.c
#include <sys/types.h>
$NGX_INTTYPES_H
-int main() {
+int main(void) {
uintptr_t i = 0;
return (int) i;
}