diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2002-09-06 18:17:31 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2002-09-06 18:17:31 +0000 |
commit | c6af8817beeaebf32fb0bc2447d3f617fe76993a (patch) | |
tree | 85b4267098fcf5d94d19cab62a2f83d528ff5fb8 /bin/pax | |
parent | ae0dbdbf9ab113f502992fed5f1a3dc1d7ab9edf (diff) |
do not return void
Diffstat (limited to 'bin/pax')
-rw-r--r-- | bin/pax/options.c | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/bin/pax/options.c b/bin/pax/options.c index 08d668dce15..6e74333d3ec 100644 --- a/bin/pax/options.c +++ b/bin/pax/options.c @@ -1,4 +1,4 @@ -/* $OpenBSD: options.c,v 1.50 2002/02/19 19:39:35 millert Exp $ */ +/* $OpenBSD: options.c,v 1.51 2002/09/06 18:17:30 deraadt Exp $ */ /* $NetBSD: options.c,v 1.6 1996/03/26 23:54:18 mrg Exp $ */ /*- @@ -42,7 +42,7 @@ #if 0 static char sccsid[] = "@(#)options.c 8.2 (Berkeley) 4/18/94"; #else -static char rcsid[] = "$OpenBSD: options.c,v 1.50 2002/02/19 19:39:35 millert Exp $"; +static char rcsid[] = "$OpenBSD: options.c,v 1.51 2002/09/06 18:17:30 deraadt Exp $"; #endif #endif /* not lint */ @@ -165,15 +165,18 @@ options(register int argc, register char **argv) else argv0 = argv[0]; - if (strcmp(NM_TAR, argv0) == 0) - return(tar_options(argc, argv)); - else if (strcmp(NM_CPIO, argv0) == 0) - return(cpio_options(argc, argv)); + if (strcmp(NM_TAR, argv0) == 0) { + tar_options(argc, argv); + return; + } else if (strcmp(NM_CPIO, argv0) == 0) { + cpio_options(argc, argv); + return; + } /* * assume pax as the default */ argv0 = NM_PAX; - return(pax_options(argc, argv)); + pax_options(argc, argv); } /* |