summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKiyoshi Aman <kiyoshi.aman+adelie@gmail.com>2019-05-28 19:24:40 -0500
committerKiyoshi Aman <kiyoshi.aman+adelie@gmail.com>2019-05-28 19:24:40 -0500
commitf125ed7f8201f86e80362bfd3937b135cfd69bbb (patch)
tree6a252db5b088cf508d7516517ae534ade71a8c6a
parente5795b70c403b1673f54d12621b8e670f5a7377d (diff)
downloaduserland-f125ed7f8201f86e80362bfd3937b135cfd69bbb.tar.gz
userland-f125ed7f8201f86e80362bfd3937b135cfd69bbb.tar.bz2
userland-f125ed7f8201f86e80362bfd3937b135cfd69bbb.tar.xz
userland-f125ed7f8201f86e80362bfd3937b135cfd69bbb.zip
usr.bin/comm: make buildable
-rw-r--r--usr.bin/comm/comm.c15
1 files changed, 1 insertions, 14 deletions
diff --git a/usr.bin/comm/comm.c b/usr.bin/comm/comm.c
index c1416e2..84e5fc4 100644
--- a/usr.bin/comm/comm.c
+++ b/usr.bin/comm/comm.c
@@ -32,19 +32,6 @@
* SUCH DAMAGE.
*/
-#include <sys/cdefs.h>
-#ifndef lint
-__COPYRIGHT("@(#) Copyright (c) 1989, 1993, 1994\
- The Regents of the University of California. All rights reserved.");
-#endif /* not lint */
-
-#ifndef lint
-#if 0
-static char sccsid[] = "@(#)comm.c 8.4 (Berkeley) 5/4/95";
-#endif
-__RCSID("$NetBSD: comm.c,v 1.20 2012/09/05 04:01:23 simonb Exp $");
-#endif /* not lint */
-
#include <err.h>
#include <limits.h>
#include <locale.h>
@@ -59,7 +46,7 @@ static const char *tabs[] = { "", "\t", "\t\t" };
static FILE *file(const char *);
static void show(FILE *, const char *, char *);
-__dead static void usage(void);
+static void usage(void);
static char *getnextln(char *buf, FILE *);
int