summaryrefslogtreecommitdiffstats
path: root/usr.bin/nice
diff options
context:
space:
mode:
authordwmalone <dwmalone@FreeBSD.org>2001-12-03 21:10:47 +0000
committerdwmalone <dwmalone@FreeBSD.org>2001-12-03 21:10:47 +0000
commitad2914a674438d6749c1435a3dcb9caec28031bd (patch)
treedb36eb11efe9e2f9c17b9d0b49c0fb2792a64217 /usr.bin/nice
parent81ff03de2599ea78cafdde0adb335d55ca2d5304 (diff)
downloadFreeBSD-src-ad2914a674438d6749c1435a3dcb9caec28031bd.zip
FreeBSD-src-ad2914a674438d6749c1435a3dcb9caec28031bd.tar.gz
Warns cleanup. Add FreeBSD ID to Makefile and nice.c.
Diffstat (limited to 'usr.bin/nice')
-rw-r--r--usr.bin/nice/Makefile2
-rw-r--r--usr.bin/nice/nice.c8
2 files changed, 8 insertions, 2 deletions
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 <bsd.prog.mk>
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 <sys/cdefs.h>
+
+__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 <sys/types.h>
OpenPOWER on IntegriCloud