summaryrefslogtreecommitdiffstats
path: root/usr.bin/calendar
diff options
context:
space:
mode:
authordwmalone <dwmalone@FreeBSD.org>2001-12-10 21:13:08 +0000
committerdwmalone <dwmalone@FreeBSD.org>2001-12-10 21:13:08 +0000
commitd9613ea3837925885145ecab86d9945be73cb303 (patch)
tree1442452df82ec8f2c59ad6b71923e5a41a2c26fa /usr.bin/calendar
parent41ac2526112f730a179b27f89b169ad414cd947b (diff)
downloadFreeBSD-src-d9613ea3837925885145ecab86d9945be73cb303.zip
FreeBSD-src-d9613ea3837925885145ecab86d9945be73cb303.tar.gz
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.
Diffstat (limited to 'usr.bin/calendar')
-rw-r--r--usr.bin/calendar/calendar.c11
-rw-r--r--usr.bin/calendar/day.c1
-rw-r--r--usr.bin/calendar/io.c11
-rw-r--r--usr.bin/calendar/ostern.c1
-rw-r--r--usr.bin/calendar/paskha.c1
5 files changed, 12 insertions, 13 deletions
diff --git a/usr.bin/calendar/calendar.c b/usr.bin/calendar/calendar.c
index 8a900f9..dc5b6d9 100644
--- a/usr.bin/calendar/calendar.c
+++ b/usr.bin/calendar/calendar.c
@@ -31,19 +31,20 @@
* SUCH DAMAGE.
*/
-#include <sys/cdefs.h>
-
-__FBSDID("$FreeBSD$");
-
#ifndef lint
static const char copyright[] =
"@(#) Copyright (c) 1989, 1993\n\
The Regents of the University of California. All rights reserved.\n";
#endif
+#if 0
#ifndef lint
-static const char sccsid[] = "@(#)calendar.c 8.3 (Berkeley) 3/25/94";
+static char sccsid[] = "@(#)calendar.c 8.3 (Berkeley) 3/25/94";
#endif
+#endif
+
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
#include <err.h>
#include <errno.h>
diff --git a/usr.bin/calendar/day.c b/usr.bin/calendar/day.c
index 44f8bb4..2216b56 100644
--- a/usr.bin/calendar/day.c
+++ b/usr.bin/calendar/day.c
@@ -32,7 +32,6 @@
*/
#include <sys/cdefs.h>
-
__FBSDID("$FreeBSD$");
#include <sys/types.h>
diff --git a/usr.bin/calendar/io.c b/usr.bin/calendar/io.c
index 51b539c..c590886 100644
--- a/usr.bin/calendar/io.c
+++ b/usr.bin/calendar/io.c
@@ -31,19 +31,20 @@
* SUCH DAMAGE.
*/
-#include <sys/cdefs.h>
-
-__FBSDID("$FreeBSD$");
-
#ifndef lint
static const char copyright[] =
"@(#) Copyright (c) 1989, 1993\n\
The Regents of the University of California. All rights reserved.\n";
#endif
+#if 0
#ifndef lint
-static const char sccsid[] = "@(#)calendar.c 8.3 (Berkeley) 3/25/94";
+static char sccsid[] = "@(#)calendar.c 8.3 (Berkeley) 3/25/94";
#endif
+#endif
+
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
#include <sys/types.h>
#include <sys/param.h>
diff --git a/usr.bin/calendar/ostern.c b/usr.bin/calendar/ostern.c
index bf7f366..f000f7d 100644
--- a/usr.bin/calendar/ostern.c
+++ b/usr.bin/calendar/ostern.c
@@ -25,7 +25,6 @@
*/
#include <sys/cdefs.h>
-
__FBSDID("$FreeBSD$");
#include <stdio.h>
diff --git a/usr.bin/calendar/paskha.c b/usr.bin/calendar/paskha.c
index c5b31ba..3999d31 100644
--- a/usr.bin/calendar/paskha.c
+++ b/usr.bin/calendar/paskha.c
@@ -25,7 +25,6 @@
*/
#include <sys/cdefs.h>
-
__FBSDID("$FreeBSD$");
#include <stdio.h>
OpenPOWER on IntegriCloud