diff auto/types/typedef @ 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 e20bf454e58b
children
line wrap: on
line diff
--- 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;
 }