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

Signed-off-by: Piotr Sikora <piotrsikora@google.com>
This commit is contained in:
Piotr Sikora
2016-06-27 15:00:05 -07:00
parent b3d891a47e
commit 70f7141074
7 changed files with 10 additions and 7 deletions
+4 -1
View File
@@ -20,7 +20,10 @@ have=NGX_COMPILER value="\"Sun C $NGX_SUNC_VER\"" . auto/define
cat << END > $NGX_AUTOTEST.c
int main() { printf("%d", __SUNPRO_C); }
int main(void) {
printf("%d", __SUNPRO_C);
return 0;
}
END