From 6a7ba5fd4d3c4a6ca9a6b138740e975fb27d6dc9 Mon Sep 17 00:00:00 2001 From: June McEnroe Date: Thu, 10 Jan 2019 20:40:53 -0500 Subject: Fix unused copyright and rcsid in cash --- bin/cash/main.c | 6 ------ bin/cash/printf.c | 4 ++-- 2 files changed, 2 insertions(+), 8 deletions(-) (limited to 'bin/cash') diff --git a/bin/cash/main.c b/bin/cash/main.c index 2687d1ef..c3b28173 100644 --- a/bin/cash/main.c +++ b/bin/cash/main.c @@ -32,12 +32,6 @@ * SUCH DAMAGE. */ -#ifndef lint -static char const copyright[] = -"@(#) Copyright (c) 1991, 1993\n\ - The Regents of the University of California. All rights reserved.\n"; -#endif /* not lint */ - #ifndef lint #if 0 static char sccsid[] = "@(#)main.c 8.6 (Berkeley) 5/28/95"; diff --git a/bin/cash/printf.c b/bin/cash/printf.c index ad2959ab..e698c417 100644 --- a/bin/cash/printf.c +++ b/bin/cash/printf.c @@ -48,8 +48,8 @@ static char const copyright[] = #if 0 static char const sccsid[] = "@(#)printf.c 8.1 (Berkeley) 7/20/93"; #endif -static const char rcsid[] = - "$FreeBSD: releng/12.0/usr.bin/printf/printf.c 337618 2018-08-11 11:13:34Z jilles $"; +#include +__FBSDID("$FreeBSD: releng/12.0/usr.bin/printf/printf.c 337618 2018-08-11 11:13:34Z jilles $"); #endif /* not lint */ #include -- cgit 1.4.1