From 5d64c714cea523e5ad539a44b17944abd1847c3d Mon Sep 17 00:00:00 2001 From: Kiyoshi Aman Date: Sun, 2 Jun 2019 05:46:15 -0500 Subject: usr.bin/head: make buildable with libbsd --- usr.bin/head/head.c | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) (limited to 'usr.bin') diff --git a/usr.bin/head/head.c b/usr.bin/head/head.c index 1d24d48..664c3bb 100644 --- a/usr.bin/head/head.c +++ b/usr.bin/head/head.c @@ -29,20 +29,6 @@ * SUCH DAMAGE. */ -#include -#ifndef lint -__COPYRIGHT("@(#) Copyright (c) 1980, 1987, 1992, 1993\ - The Regents of the University of California. All rights reserved."); -#endif /* not lint */ - -#ifndef lint -#if 0 -static char sccsid[] = "@(#)head.c 8.2 (Berkeley) 5/4/95"; -#else -__RCSID("$NetBSD: head.c,v 1.24 2016/05/12 01:56:44 nonaka Exp $"); -#endif -#endif /* not lint */ - #include #include @@ -53,6 +39,7 @@ __RCSID("$NetBSD: head.c,v 1.24 2016/05/12 01:56:44 nonaka Exp $"); #include #include #include +#include #include #include @@ -64,7 +51,7 @@ __RCSID("$NetBSD: head.c,v 1.24 2016/05/12 01:56:44 nonaka Exp $"); static void head(FILE *, intmax_t, intmax_t); static void obsolete(char *[]); -__dead static void usage(void); +static void usage(void); int -- cgit v1.2.3-60-g2f50