Mercurial > hg > nginx
comparison 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 |
comparison
equal
deleted
inserted
replaced
6623:0bf08d9c82c1 | 6624:e3faa5fb7772 |
---|---|
25 #include <sys/time.h> | 25 #include <sys/time.h> |
26 #include <sys/resource.h> | 26 #include <sys/resource.h> |
27 #include <netinet/in.h> | 27 #include <netinet/in.h> |
28 $NGX_INCLUDE_INTTYPES_H | 28 $NGX_INCLUDE_INTTYPES_H |
29 | 29 |
30 int main() { | 30 int main(void) { |
31 $ngx_try i = 0; | 31 $ngx_try i = 0; |
32 return (int) i; | 32 return (int) i; |
33 } | 33 } |
34 | 34 |
35 END | 35 END |