summaryrefslogtreecommitdiff
path: root/usr.bin/nice
diff options
context:
space:
mode:
authorDavid Malone <dwmalone@FreeBSD.org>2001-12-10 21:13:08 +0000
committerDavid Malone <dwmalone@FreeBSD.org>2001-12-10 21:13:08 +0000
commit9f5b04e925d068b053cc41bae3d3c25a5325062c (patch)
tree1442452df82ec8f2c59ad6b71923e5a41a2c26fa /usr.bin/nice
parent071087f3d79814821e1c6b70569177f2583903a8 (diff)
downloadsrc-test-9f5b04e925d068b053cc41bae3d3c25a5325062c.tar.gz
src-test-9f5b04e925d068b053cc41bae3d3c25a5325062c.zip
Style improvements recommended by Bruce as a follow up to some
of the recent WARNS commits. The idea is: 1) FreeBSD id tags should follow vendor tags. 2) Vendor tags should not be compiled (though copyrights probably should). 3) There should be no blank line between including cdefs and __FBSDIF.
Notes
Notes: svn path=/head/; revision=87628
Diffstat (limited to 'usr.bin/nice')
-rw-r--r--usr.bin/nice/Makefile2
-rw-r--r--usr.bin/nice/nice.c11
2 files changed, 7 insertions, 6 deletions
diff --git a/usr.bin/nice/Makefile b/usr.bin/nice/Makefile
index a6f87174baf91..dc72a89d73f82 100644
--- a/usr.bin/nice/Makefile
+++ b/usr.bin/nice/Makefile
@@ -1,5 +1,5 @@
-# $FreeBSD$
# @(#)Makefile 8.1 (Berkeley) 6/6/93
+# $FreeBSD$
PROG= nice
WARNS?= 2
diff --git a/usr.bin/nice/nice.c b/usr.bin/nice/nice.c
index 85fffbf552b4e..ea1ec440789f1 100644
--- a/usr.bin/nice/nice.c
+++ b/usr.bin/nice/nice.c
@@ -31,19 +31,20 @@
* SUCH DAMAGE.
*/
-#include <sys/cdefs.h>
-
-__FBSDID("$FreeBSD$");
-
#ifndef lint
static const char copyright[] =
"@(#) Copyright (c) 1989, 1993, 1994\n\
The Regents of the University of California. All rights reserved.\n";
#endif /* not lint */
+#if 0
#ifndef lint
-static const char sccsid[] = "@(#)nice.c 8.2 (Berkeley) 4/16/94";
+static char sccsid[] = "@(#)nice.c 8.2 (Berkeley) 4/16/94";
#endif /* not lint */
+#endif
+
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
#include <sys/types.h>
#include <sys/time.h>