diff options
author | Niall O'Higgins <niallo@cvs.openbsd.org> | 2005-10-10 14:38:00 +0000 |
---|---|---|
committer | Niall O'Higgins <niallo@cvs.openbsd.org> | 2005-10-10 14:38:00 +0000 |
commit | 79c0b52198bb8b7e6adfb70cf560b148d627261a (patch) | |
tree | 2ddbabafec533f549a3ab236c4428a3e0a9808f1 /usr.bin/rcs/rcsprog.c | |
parent | 199c2e7ad7848b3f954d056ab0471a076e9d30e4 (diff) |
exit(3) is preferred over return from main().
ok joris@
Diffstat (limited to 'usr.bin/rcs/rcsprog.c')
-rw-r--r-- | usr.bin/rcs/rcsprog.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/rcs/rcsprog.c b/usr.bin/rcs/rcsprog.c index f2c7b924ae4..9c99544a623 100644 --- a/usr.bin/rcs/rcsprog.c +++ b/usr.bin/rcs/rcsprog.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rcsprog.c,v 1.22 2005/10/06 15:39:11 joris Exp $ */ +/* $OpenBSD: rcsprog.c,v 1.23 2005/10/10 14:37:59 niallo Exp $ */ /* * Copyright (c) 2005 Jean-Francois Brousseau <jfb@openbsd.org> * All rights reserved. @@ -121,7 +121,7 @@ main(int argc, char **argv) cvs_strtab_cleanup(); - return (ret); + exit(ret); } |