summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKiyoshi Aman <kiyoshi.aman+adelie@gmail.com>2019-05-28 22:23:43 -0500
committerKiyoshi Aman <kiyoshi.aman+adelie@gmail.com>2019-05-28 22:23:43 -0500
commita1744be670f76aba50d5def240584770ccefe027 (patch)
treef70053f402094c2c4b4509a225978c40d54e60ce
parent5bc967352f76c55a10aebaac0da03dfe8b704e40 (diff)
downloaduserland-a1744be670f76aba50d5def240584770ccefe027.tar.gz
userland-a1744be670f76aba50d5def240584770ccefe027.tar.bz2
userland-a1744be670f76aba50d5def240584770ccefe027.tar.xz
userland-a1744be670f76aba50d5def240584770ccefe027.zip
usr.bin/dirname: make buildable
-rw-r--r--usr.bin/dirname/dirname.c15
1 files changed, 1 insertions, 14 deletions
diff --git a/usr.bin/dirname/dirname.c b/usr.bin/dirname/dirname.c
index bc9d0ae..829149d 100644
--- a/usr.bin/dirname/dirname.c
+++ b/usr.bin/dirname/dirname.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[] = "@(#)dirname.c 8.4 (Berkeley) 5/4/95";
-#endif
-__RCSID("$NetBSD: dirname.c,v 1.12 2011/09/16 15:39:25 joerg Exp $");
-#endif /* not lint */
-
#include <err.h>
#include <libgen.h>
#include <locale.h>
@@ -49,7 +36,7 @@ __RCSID("$NetBSD: dirname.c,v 1.12 2011/09/16 15:39:25 joerg Exp $");
#include <stdlib.h>
#include <unistd.h>
-__dead static void usage(void);
+static void usage(void);
int
main(int argc, char **argv)