From ead218885275026a16c545f3e81fbc61a9c85e94 Mon Sep 17 00:00:00 2001 From: Kiyoshi Aman Date: Sat, 25 May 2019 18:06:10 -0500 Subject: usr.bin/basename: make buildable --- usr.bin/basename/basename.c | 15 +-------------- usr.bin/basename/dirname.1 | 1 + 2 files changed, 2 insertions(+), 14 deletions(-) create mode 120000 usr.bin/basename/dirname.1 diff --git a/usr.bin/basename/basename.c b/usr.bin/basename/basename.c index 78b5d8b..7107ed5 100644 --- a/usr.bin/basename/basename.c +++ b/usr.bin/basename/basename.c @@ -29,19 +29,6 @@ * SUCH DAMAGE. */ -#include -#ifndef lint -__COPYRIGHT("@(#) Copyright (c) 1991, 1993, 1994\ - The Regents of the University of California. All rights reserved."); -#endif /* not lint */ - -#ifndef lint -#if 0 -static char sccsid[] = "@(#)basename.c 8.4 (Berkeley) 5/4/95"; -#endif -__RCSID("$NetBSD: basename.c,v 1.16 2019/02/01 08:29:04 mrg Exp $"); -#endif /* not lint */ - #include #include #include @@ -50,7 +37,7 @@ __RCSID("$NetBSD: basename.c,v 1.16 2019/02/01 08:29:04 mrg Exp $"); #include #include -__dead static void usage(void); +static void usage(void); int main(int argc, char **argv) diff --git a/usr.bin/basename/dirname.1 b/usr.bin/basename/dirname.1 new file mode 120000 index 0000000..9664679 --- /dev/null +++ b/usr.bin/basename/dirname.1 @@ -0,0 +1 @@ +basename.1 \ No newline at end of file -- cgit v1.2.3-70-g09d2