Mercurial > hg > nginx
comparison auto/types/sizeof @ 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 | 82a76258a142 |
children |
comparison
equal
deleted
inserted
replaced
6623:0bf08d9c82c1 | 6624:e3faa5fb7772 |
---|---|
23 #include <stdio.h> | 23 #include <stdio.h> |
24 #include <sys/resource.h> | 24 #include <sys/resource.h> |
25 $NGX_INCLUDE_INTTYPES_H | 25 $NGX_INCLUDE_INTTYPES_H |
26 $NGX_INCLUDE_AUTO_CONFIG_H | 26 $NGX_INCLUDE_AUTO_CONFIG_H |
27 | 27 |
28 int main() { | 28 int main(void) { |
29 printf("%d", (int) sizeof($ngx_type)); | 29 printf("%d", (int) sizeof($ngx_type)); |
30 return 0; | 30 return 0; |
31 } | 31 } |
32 | 32 |
33 END | 33 END |