From d9613ea3837925885145ecab86d9945be73cb303 Mon Sep 17 00:00:00 2001 From: dwmalone Date: Mon, 10 Dec 2001 21:13:08 +0000 Subject: 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. --- usr.bin/rev/Makefile | 2 +- usr.bin/rev/rev.c | 11 ++++++----- 2 files changed, 7 insertions(+), 6 deletions(-) (limited to 'usr.bin/rev') diff --git a/usr.bin/rev/Makefile b/usr.bin/rev/Makefile index ef9723f..adfc4e1 100644 --- a/usr.bin/rev/Makefile +++ b/usr.bin/rev/Makefile @@ -1,5 +1,5 @@ -# $FreeBSD$ # @(#)Makefile 8.1 (Berkeley) 6/9/93 +# $FreeBSD$ PROG= rev WARNS?= 2 diff --git a/usr.bin/rev/rev.c b/usr.bin/rev/rev.c index c023d8e..50921e7 100644 --- a/usr.bin/rev/rev.c +++ b/usr.bin/rev/rev.c @@ -31,19 +31,20 @@ * SUCH DAMAGE. */ -#include - -__FBSDID("$FreeBSD$"); - #ifndef lint static const char copyright[] = "@(#) Copyright (c) 1987, 1992, 1993\n\ The Regents of the University of California. All rights reserved.\n"; #endif /* not lint */ +#if 0 #ifndef lint -static const char sccsid[] = "@(#)rev.c 8.3 (Berkeley) 5/4/95"; +static char sccsid[] = "@(#)rev.c 8.3 (Berkeley) 5/4/95"; #endif /* not lint */ +#endif + +#include +__FBSDID("$FreeBSD$"); #include -- cgit v1.1