summaryrefslogtreecommitdiffhomepage
path: root/auto/cc/sunc
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--auto/cc/sunc5
1 files changed, 4 insertions, 1 deletions
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