summaryrefslogtreecommitdiffstats
path: root/usr.bin/cksum
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2002-06-30 05:25:07 +0000
committerobrien <obrien@FreeBSD.org>2002-06-30 05:25:07 +0000
commitbc61fc95d838ba5e5b48f6ee9848c03ec72a5af3 (patch)
tree41763f513f184b022b2875b747c2d1e83d4ed74f /usr.bin/cksum
parentb7edb33754da2677f5954d960946833612ef6c51 (diff)
downloadFreeBSD-src-bc61fc95d838ba5e5b48f6ee9848c03ec72a5af3.zip
FreeBSD-src-bc61fc95d838ba5e5b48f6ee9848c03ec72a5af3.tar.gz
Consistently use FBSDID
Diffstat (limited to 'usr.bin/cksum')
-rw-r--r--usr.bin/cksum/cksum.c4
-rw-r--r--usr.bin/cksum/crc.c4
-rw-r--r--usr.bin/cksum/crc32.c6
-rw-r--r--usr.bin/cksum/print.c4
-rw-r--r--usr.bin/cksum/sum1.c4
-rw-r--r--usr.bin/cksum/sum2.c4
6 files changed, 12 insertions, 14 deletions
diff --git a/usr.bin/cksum/cksum.c b/usr.bin/cksum/cksum.c
index 6021829..3c7f17a 100644
--- a/usr.bin/cksum/cksum.c
+++ b/usr.bin/cksum/cksum.c
@@ -44,9 +44,9 @@ static const char copyright[] =
#if 0
static char sccsid[] = "@(#)cksum.c 8.2 (Berkeley) 4/28/95";
#endif
-static const char rcsid[] =
- "$FreeBSD$";
#endif /* not lint */
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
#include <sys/types.h>
diff --git a/usr.bin/cksum/crc.c b/usr.bin/cksum/crc.c
index ba43660..569304d 100644
--- a/usr.bin/cksum/crc.c
+++ b/usr.bin/cksum/crc.c
@@ -38,9 +38,9 @@
#if 0
static char sccsid[] = "@(#)crc.c 8.1 (Berkeley) 6/17/93";
#endif
-static const char rcsid[] =
- "$FreeBSD$";
#endif /* not lint */
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
#include <sys/types.h>
#include <unistd.h>
diff --git a/usr.bin/cksum/crc32.c b/usr.bin/cksum/crc32.c
index f290d69..2c4666b 100644
--- a/usr.bin/cksum/crc32.c
+++ b/usr.bin/cksum/crc32.c
@@ -11,10 +11,8 @@
* Spencer Garrett <srg@quick.com>
*/
-#ifndef lint
-static const char rcsid[] =
- "$FreeBSD$";
-#endif /* not lint */
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
#include <sys/types.h>
diff --git a/usr.bin/cksum/print.c b/usr.bin/cksum/print.c
index d3b8ce4..ca04996 100644
--- a/usr.bin/cksum/print.c
+++ b/usr.bin/cksum/print.c
@@ -35,9 +35,9 @@
#if 0
static char sccsid[] = "@(#)print.c 8.1 (Berkeley) 6/6/93";
#endif
-static const char rcsid[] =
- "$FreeBSD$";
#endif /* not lint */
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
#include <sys/types.h>
#include <stdio.h>
diff --git a/usr.bin/cksum/sum1.c b/usr.bin/cksum/sum1.c
index aaba1e8..a981330 100644
--- a/usr.bin/cksum/sum1.c
+++ b/usr.bin/cksum/sum1.c
@@ -35,9 +35,9 @@
#if 0
static char sccsid[] = "@(#)sum1.c 8.1 (Berkeley) 6/6/93";
#endif
-static const char rcsid[] =
- "$FreeBSD$";
#endif /* not lint */
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
#include <sys/types.h>
#include <unistd.h>
diff --git a/usr.bin/cksum/sum2.c b/usr.bin/cksum/sum2.c
index a14c4d3..2514272 100644
--- a/usr.bin/cksum/sum2.c
+++ b/usr.bin/cksum/sum2.c
@@ -35,9 +35,9 @@
#if 0
static char sccsid[] = "@(#)sum2.c 8.1 (Berkeley) 6/6/93";
#endif
-static const char rcsid[] =
- "$FreeBSD$";
#endif /* not lint */
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
#include <sys/types.h>
#include <unistd.h>
OpenPOWER on IntegriCloud