From 70f7141074896fb1ff3e5fc08407ea0f64f2076b Mon Sep 17 00:00:00 2001 From: Piotr Sikora Date: Mon, 27 Jun 2016 15:00:05 -0700 Subject: Configure: fix build with -Werror=old-style-definition. Signed-off-by: Piotr Sikora --- auto/cc/sunc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'auto/cc/sunc') diff --git a/auto/cc/sunc b/auto/cc/sunc index 226ef5ea6..806ccc439 100644 --- a/auto/cc/sunc +++ b/auto/cc/sunc @@ -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 -- cgit