Configure: fix build with -Werror=old-style-definition.

Signed-off-by: Piotr Sikora <piotrsikora@google.com>
diff --git a/auto/cc/sunc b/auto/cc/sunc
index 226ef5e..806ccc4 100644
--- a/auto/cc/sunc
+++ b/auto/cc/sunc
@@ -20,7 +20,10 @@
 
 cat << END > $NGX_AUTOTEST.c
 
-int main() { printf("%d", __SUNPRO_C); }
+int main(void) {
+    printf("%d", __SUNPRO_C);
+    return 0;
+}
 
 END
 
diff --git a/auto/endianness b/auto/endianness
index 70b0a10..1b552b6 100644
--- a/auto/endianness
+++ b/auto/endianness
@@ -15,7 +15,7 @@
 
 cat << END > $NGX_AUTOTEST.c
 
-int main() {
+int main(void) {
     int i = 0x11223344;
     char *p;
 
diff --git a/auto/feature b/auto/feature
index 1145f28..3561f59 100644
--- a/auto/feature
+++ b/auto/feature
@@ -31,7 +31,7 @@
 $NGX_INCLUDE_UNISTD_H
 $ngx_feature_incs
 
-int main() {
+int main(void) {
     $ngx_feature_test;
     return 0;
 }
diff --git a/auto/include b/auto/include
index e34dabd..0f8bc1e 100644
--- a/auto/include
+++ b/auto/include
@@ -20,7 +20,7 @@
 $NGX_INCLUDE_SYS_PARAM_H
 #include <$ngx_include>
 
-int main() {
+int main(void) {
     return 0;
 }
 
diff --git a/auto/types/sizeof b/auto/types/sizeof
index b5b71bb..480d8cf 100644
--- a/auto/types/sizeof
+++ b/auto/types/sizeof
@@ -25,7 +25,7 @@
 $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 b55237e..d54c289 100644
--- a/auto/types/typedef
+++ b/auto/types/typedef
@@ -27,7 +27,7 @@
 #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 2b7212e..7db6e45 100644
--- a/auto/types/uintptr_t
+++ b/auto/types/uintptr_t
@@ -19,7 +19,7 @@
 #include <sys/types.h>
 $NGX_INTTYPES_H
 
-int main() {
+int main(void) {
     uintptr_t i = 0;
     return (int) i;
 }