diff options
author | Mike Pechkin <mpech@cvs.openbsd.org> | 2001-09-06 13:29:09 +0000 |
---|---|---|
committer | Mike Pechkin <mpech@cvs.openbsd.org> | 2001-09-06 13:29:09 +0000 |
commit | e9adfbcaf16f3287027630e6f8926cbf5195af9f (patch) | |
tree | b20ad65ef5726147335786dc24cc1d1a00d5c7f3 /bin/rmdir/rmdir.c | |
parent | 99d09c2c5ce8a0c313c2a485a4a6a8ed24e805c5 (diff) |
o) __progname aria;
millert@ ok.
Diffstat (limited to 'bin/rmdir/rmdir.c')
-rw-r--r-- | bin/rmdir/rmdir.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/bin/rmdir/rmdir.c b/bin/rmdir/rmdir.c index 86708cc9325..12e35c5d3b1 100644 --- a/bin/rmdir/rmdir.c +++ b/bin/rmdir/rmdir.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rmdir.c,v 1.4 2001/05/20 08:51:32 mickey Exp $ */ +/* $OpenBSD: rmdir.c,v 1.5 2001/09/06 13:29:08 mpech Exp $ */ /* $NetBSD: rmdir.c,v 1.13 1995/03/21 09:08:31 cgd Exp $ */ /*- @@ -44,7 +44,7 @@ static char copyright[] = #if 0 static char sccsid[] = "@(#)rmdir.c 8.3 (Berkeley) 4/2/94"; #else -static char rcsid[] = "$OpenBSD: rmdir.c,v 1.4 2001/05/20 08:51:32 mickey Exp $"; +static char rcsid[] = "$OpenBSD: rmdir.c,v 1.5 2001/09/06 13:29:08 mpech Exp $"; #endif #endif /* not lint */ @@ -56,6 +56,8 @@ static char rcsid[] = "$OpenBSD: rmdir.c,v 1.4 2001/05/20 08:51:32 mickey Exp $" #include <locale.h> #include <unistd.h> +extern char *__progname; + int rm_path __P((char *)); void usage __P((void)); @@ -127,7 +129,6 @@ rm_path(path) void usage() { - extern char *__progname; fprintf(stderr, "usage: %s [-p] directory ...\n", __progname); exit(1); } |