From 877471585cd8f5380ac68b6a222764caf268d934 Mon Sep 17 00:00:00 2001 From: neingeist Date: Thu, 9 May 2013 19:20:26 +0200 Subject: [PATCH] return something in main() --- approximate-pi.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/approximate-pi.c b/approximate-pi.c index b25a369..7c37b7b 100644 --- a/approximate-pi.c +++ b/approximate-pi.c @@ -20,4 +20,6 @@ double approximate_pi(unsigned int steps) { int main(int argc, char *argv[]) { // printf("sizeof(int) = %d\n", sizeof(int)); printf("pi = %8.7f\n", approximate_pi(10000000)); + + return 0; }