summaryrefslogtreecommitdiff
path: root/usr.bin/nice
diff options
context:
space:
mode:
authorDavid Malone <dwmalone@FreeBSD.org>2001-12-03 21:10:47 +0000
committerDavid Malone <dwmalone@FreeBSD.org>2001-12-03 21:10:47 +0000
commitae1a490de6ac1308d787288d46eeeee7a8929435 (patch)
treedb36eb11efe9e2f9c17b9d0b49c0fb2792a64217 /usr.bin/nice
parent9ff5e898db817c903f5ca2a8e31523585f7c33cb (diff)
downloadsrc-test-ae1a490de6ac1308d787288d46eeeee7a8929435.tar.gz
src-test-ae1a490de6ac1308d787288d46eeeee7a8929435.zip
Warns cleanup. Add FreeBSD ID to Makefile and nice.c.
Notes
Notes: svn path=/head/; revision=87291
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 d36378e7f48e1..a6f87174baf91 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 c731ca9a1a0d0..85fffbf552b4e 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>