summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2018-07-03 17:31:45 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2018-07-03 17:31:45 +0000
commit1d9542a320d803b9bea3971687ccf33b252f2401 (patch)
treeeb5b6ab30771bd231a407b766b4866d3c6694854
parentd3c118ef948d741a56d11a7cbe23094958dffe72 (diff)
downloadpw-darwin-1d9542a320d803b9bea3971687ccf33b252f2401.tar.gz
pw-darwin-1d9542a320d803b9bea3971687ccf33b252f2401.tar.zst
pw-darwin-1d9542a320d803b9bea3971687ccf33b252f2401.zip
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: <tag>' 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
-rw-r--r--libc/gen/pw_scan.c4
1 files changed, 1 insertions, 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 <sys/cdefs.h>
+__SCCSID("@(#)pw_scan.c 8.3 (Berkeley) 4/2/94");
__FBSDID("$FreeBSD$");
/*