From 1d9542a320d803b9bea3971687ccf33b252f2401 Mon Sep 17 00:00:00 2001 From: John Baldwin Date: Tue, 3 Jul 2018 17:31:45 +0000 Subject: Clean up the vcs ID strings in libc's gen/ directory. - Move CSRG IDs into __SCCSID(). - When a file has been copied, consistently use 'From: ' for strings referencing the version of the source file copied from in the license block comment. - Some of the 'From:' tags were using $FreeBSD$ that was being expanded on each checkout. Fix those to hardcode the FreeBSD tag from the file that was copied at the time of the copy. - When multiple strings are present list them in "chronological" order, so CSRG (__SCCSID) before FreeBSD (__FBSDID). If a file came from OtherBSD and contains a CSRG ID from the OtherBSD file, use the order CSRG -> OtherBSD -> FreeBSD. Reviewed by: imp Differential Revision: https://reviews.freebsd.org/D15831 --- libc/gen/pw_scan.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/libc/gen/pw_scan.c b/libc/gen/pw_scan.c index 7e88a22..a7dbdf2 100644 --- a/libc/gen/pw_scan.c +++ b/libc/gen/pw_scan.c @@ -29,10 +29,8 @@ * SUCH DAMAGE. */ -#if defined(LIBC_SCCS) && !defined(lint) -static char sccsid[] = "@(#)pw_scan.c 8.3 (Berkeley) 4/2/94"; -#endif /* LIBC_SCCS and not lint */ #include +__SCCSID("@(#)pw_scan.c 8.3 (Berkeley) 4/2/94"); __FBSDID("$FreeBSD$"); /* -- cgit v1.2.3-56-ge451