From ad2914a674438d6749c1435a3dcb9caec28031bd Mon Sep 17 00:00:00 2001 From: dwmalone Date: Mon, 3 Dec 2001 21:10:47 +0000 Subject: Warns cleanup. Add FreeBSD ID to Makefile and nice.c. --- usr.bin/nice/Makefile | 2 ++ usr.bin/nice/nice.c | 8 ++++++-- 2 files changed, 8 insertions(+), 2 deletions(-) (limited to 'usr.bin/nice') diff --git a/usr.bin/nice/Makefile b/usr.bin/nice/Makefile index d36378e..a6f8717 100644 --- a/usr.bin/nice/Makefile +++ b/usr.bin/nice/Makefile @@ -1,5 +1,7 @@ +# $FreeBSD$ # @(#)Makefile 8.1 (Berkeley) 6/6/93 PROG= nice +WARNS?= 2 .include diff --git a/usr.bin/nice/nice.c b/usr.bin/nice/nice.c index c731ca9..85fffbf 100644 --- a/usr.bin/nice/nice.c +++ b/usr.bin/nice/nice.c @@ -31,14 +31,18 @@ * SUCH DAMAGE. */ +#include + +__FBSDID("$FreeBSD$"); + #ifndef lint -static char copyright[] = +static const char copyright[] = "@(#) Copyright (c) 1989, 1993, 1994\n\ The Regents of the University of California. All rights reserved.\n"; #endif /* not lint */ #ifndef lint -static char sccsid[] = "@(#)nice.c 8.2 (Berkeley) 4/16/94"; +static const char sccsid[] = "@(#)nice.c 8.2 (Berkeley) 4/16/94"; #endif /* not lint */ #include -- cgit v1.1