diff auto/types/uintptr_t @ 6624:e3faa5fb7772

Configure: fix build with -Werror=old-style-definition. Signed-off-by: Piotr Sikora <piotrsikora@google.com>
author Piotr Sikora <piotrsikora@google.com>
date Mon, 27 Jun 2016 15:00:05 -0700
parents 7ec809b579d7
children a616bdc38645
line wrap: on
line diff
--- 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;
 }