From ae1a490de6ac1308d787288d46eeeee7a8929435 Mon Sep 17 00:00:00 2001 From: David Malone Date: Mon, 3 Dec 2001 21:10:47 +0000 Subject: [PATCH] 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(-) diff --git a/usr.bin/nice/Makefile b/usr.bin/nice/Makefile index d36378e7f48..a6f87174baf 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 c731ca9a1a0..85fffbf552b 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