summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKiyoshi Aman <kiyoshi.aman+adelie@gmail.com>2019-06-22 02:55:48 -0500
committerKiyoshi Aman <kiyoshi.aman+adelie@gmail.com>2019-06-22 02:55:48 -0500
commit7e8519ccfd23dd8562b06eef66d1a939d4443923 (patch)
treef5ca89bcd8611970d16ccad70b3db95f66788769
parentcc896b5a2e5dc0006ef2c359c5a25596ca4c3bd0 (diff)
downloaduserland-7e8519ccfd23dd8562b06eef66d1a939d4443923.tar.gz
userland-7e8519ccfd23dd8562b06eef66d1a939d4443923.tar.bz2
userland-7e8519ccfd23dd8562b06eef66d1a939d4443923.tar.xz
userland-7e8519ccfd23dd8562b06eef66d1a939d4443923.zip
usr.bin/what: make buildable
-rw-r--r--usr.bin/what/what.c15
1 files changed, 1 insertions, 14 deletions
diff --git a/usr.bin/what/what.c b/usr.bin/what/what.c
index fb29e52..10a4f1a 100644
--- a/usr.bin/what/what.c
+++ b/usr.bin/what/what.c
@@ -29,26 +29,13 @@
* SUCH DAMAGE.
*/
-#include <sys/cdefs.h>
-#ifndef lint
-__COPYRIGHT("@(#) Copyright (c) 1980, 1988, 1993\
- The Regents of the University of California. All rights reserved.");
-#endif /* not lint */
-
-#ifndef lint
-#if 0
-static char sccsid[] = "@(#)what.c 8.1 (Berkeley) 6/6/93";
-#endif
-__RCSID("$NetBSD: what.c,v 1.12 2015/12/12 09:50:12 dholland Exp $");
-#endif /* not lint */
-
#include <locale.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
static void search(void);
-__dead static void usage(void);
+static void usage(void);
static int matches;
static int sflag;