diff options
author | uqs <uqs@FreeBSD.org> | 2010-02-21 21:03:15 +0000 |
---|---|---|
committer | uqs <uqs@FreeBSD.org> | 2010-02-21 21:03:15 +0000 |
commit | 74cf8088e7f9d148bfc24b2236d2b66b6416ffec (patch) | |
tree | caca4f5e98c84fe9287094da2d1cc127d96bb9bf /games | |
parent | 16e435ca61e1b51023b0f353cf8360b98c21d2d9 (diff) | |
download | FreeBSD-src-74cf8088e7f9d148bfc24b2236d2b66b6416ffec.zip FreeBSD-src-74cf8088e7f9d148bfc24b2236d2b66b6416ffec.tar.gz |
Prefer exit(0) from main over return(0).
Although not explicitly mentioned in style(9), it allows for easier
grepping of exit points. This reverts part of r203926.
Requested by: des
Approved by: philip (mentor)
Diffstat (limited to 'games')
-rw-r--r-- | games/fortune/fortune/fortune.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/games/fortune/fortune/fortune.c b/games/fortune/fortune/fortune.c index edff26f..65ae35e 100644 --- a/games/fortune/fortune/fortune.c +++ b/games/fortune/fortune/fortune.c @@ -216,7 +216,7 @@ main(int argc, char *argv[]) sleep((unsigned int) max(Fort_len / CPERS, MINW)); } - return (0); + exit(0); } void |