summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/basename/basename.c15
l---------usr.bin/basename/dirname.11
2 files changed, 2 insertions, 14 deletions
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 <sys/cdefs.h>
-#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 <err.h>
#include <libgen.h>
#include <locale.h>
@@ -50,7 +37,7 @@ __RCSID("$NetBSD: basename.c,v 1.16 2019/02/01 08:29:04 mrg Exp $");
#include <string.h>
#include <unistd.h>
-__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