From 56269d7b4aa95f6a33df35d748db1e9b0c0f45a9 Mon Sep 17 00:00:00 2001 From: Kiyoshi Aman Date: Thu, 20 Jun 2019 01:54:36 -0500 Subject: usr.bin/uniq: make buildable with libbsd --- usr.bin/uniq/uniq.c | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) (limited to 'usr.bin/uniq') diff --git a/usr.bin/uniq/uniq.c b/usr.bin/uniq/uniq.c index ded7037..af71a56 100644 --- a/usr.bin/uniq/uniq.c +++ b/usr.bin/uniq/uniq.c @@ -32,24 +32,11 @@ * SUCH DAMAGE. */ -#include -#ifndef lint -__COPYRIGHT("@(#) Copyright (c) 1989, 1993\ - The Regents of the University of California. All rights reserved."); -#endif /* not lint */ - -#ifndef lint -#if 0 -static char sccsid[] = "@(#)uniq.c 8.3 (Berkeley) 5/4/95"; -#endif -__RCSID("$NetBSD: uniq.c,v 1.20 2016/10/16 06:17:51 abhinav Exp $"); -#endif /* not lint */ - #include #include #include #include -#include +#include #include #include @@ -60,7 +47,7 @@ static FILE *file(const char *, const char *); static void show(FILE *, const char *); static const char *skip(const char *, size_t *); static void obsolete(char *[]); -static void usage(void) __dead; +static void usage(void); int main (int argc, char *argv[]) -- cgit v1.2.3-60-g2f50