diff options
Diffstat (limited to 'bin/rmdir/rmdir.c')
-rw-r--r-- | bin/rmdir/rmdir.c | 18 |
1 files changed, 2 insertions, 16 deletions
diff --git a/bin/rmdir/rmdir.c b/bin/rmdir/rmdir.c index 22f1141e14ec..0a495018495c 100644 --- a/bin/rmdir/rmdir.c +++ b/bin/rmdir/rmdir.c @@ -29,20 +29,6 @@ * SUCH DAMAGE. */ -#if 0 -#ifndef lint -static char const copyright[] = -"@(#) Copyright (c) 1992, 1993, 1994\n\ - The Regents of the University of California. All rights reserved.\n"; -#endif /* not lint */ - -#ifndef lint -static char sccsid[] = "@(#)rmdir.c 8.3 (Berkeley) 4/2/94"; -#endif /* not lint */ -#endif -#include <sys/cdefs.h> -__FBSDID("$FreeBSD$"); - #include <err.h> #include <stdio.h> #include <stdlib.h> @@ -50,7 +36,7 @@ __FBSDID("$FreeBSD$"); #include <unistd.h> static int rm_path(char *); -static void usage(void); +static void usage(void) __dead2; static int pflag; static int vflag; @@ -126,5 +112,5 @@ usage(void) { (void)fprintf(stderr, "usage: rmdir [-pv] directory ...\n"); - exit(1); + exit(2); } |