diff options
author | Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com> | 2019-05-25 07:52:50 -0500 |
---|---|---|
committer | Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com> | 2019-05-25 07:52:50 -0500 |
commit | 874a49d1f54f5ad1ef005d4ff50f72a0a9738b86 (patch) | |
tree | d3f082f8686daff9dd351fa32e095f515658b332 | |
parent | 1bf49d076dabfec6f386558ae10ced1aa4e94643 (diff) | |
download | userland-874a49d1f54f5ad1ef005d4ff50f72a0a9738b86.tar.gz userland-874a49d1f54f5ad1ef005d4ff50f72a0a9738b86.tar.bz2 userland-874a49d1f54f5ad1ef005d4ff50f72a0a9738b86.tar.xz userland-874a49d1f54f5ad1ef005d4ff50f72a0a9738b86.zip |
bin/rmdir: make buildable with libbsd
-rw-r--r-- | bin/rmdir/rmdir.c | 17 |
1 files changed, 2 insertions, 15 deletions
diff --git a/bin/rmdir/rmdir.c b/bin/rmdir/rmdir.c index 7a87b30..df8243c 100644 --- a/bin/rmdir/rmdir.c +++ b/bin/rmdir/rmdir.c @@ -29,31 +29,18 @@ * SUCH DAMAGE. */ -#include <sys/cdefs.h> -#ifndef lint -__COPYRIGHT("@(#) Copyright (c) 1992, 1993, 1994\ - The Regents of the University of California. All rights reserved."); -#endif /* not lint */ - -#ifndef lint -#if 0 -static char sccsid[] = "@(#)rmdir.c 8.3 (Berkeley) 4/2/94"; -#else -__RCSID("$NetBSD: rmdir.c,v 1.27 2017/08/10 22:52:13 ginsbach Exp $"); -#endif -#endif /* not lint */ - #include <sys/param.h> #include <err.h> #include <locale.h> #include <stdio.h> #include <stdlib.h> +#include <bsd/stdlib.h> #include <string.h> #include <unistd.h> static int rm_path(char *); -__dead static void usage(void); +static void usage(void); int main(int argc, char *argv[]) |