From 96e69a56f752717e5036e8e362584205a6ecfef1 Mon Sep 17 00:00:00 2001 From: Kiyoshi Aman Date: Wed, 29 May 2019 22:40:49 -0500 Subject: usr.bin/expand: make buildable with libbsd --- usr.bin/expand/expand.c | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) (limited to 'usr.bin/expand') diff --git a/usr.bin/expand/expand.c b/usr.bin/expand/expand.c index c69fda1..8e4c279 100644 --- a/usr.bin/expand/expand.c +++ b/usr.bin/expand/expand.c @@ -29,21 +29,9 @@ * SUCH DAMAGE. */ -#include -#ifndef lint -__COPYRIGHT("@(#) Copyright (c) 1980, 1993\ - The Regents of the University of California. All rights reserved."); -#endif /* not lint */ - -#ifndef lint -#if 0 -static char sccsid[] = "@(#)expand.c 8.1 (Berkeley) 6/9/93"; -#endif -__RCSID("$NetBSD: expand.c,v 1.14 2016/09/05 00:40:28 sevan Exp $"); -#endif /* not lint */ - #include #include +#include #include #include #include @@ -55,7 +43,7 @@ size_t nstops; size_t tabstops[100]; static void getstops(const char *); -static void usage(void) __dead; +static void usage(void) __attribute__((noreturn)); int main(int argc, char *argv[]) -- cgit v1.2.3-70-g09d2