diff options
author | John Baldwin <jhb@FreeBSD.org> | 2018-07-03 17:31:45 +0000 |
---|---|---|
committer | John Baldwin <jhb@FreeBSD.org> | 2018-07-03 17:31:45 +0000 |
commit | c1920558b3c4efbeea4d0c833aa9cb4091533ff1 (patch) | |
tree | dd000a5f04fea9d644fc44e72b142cef4034098b /lib/libc/gen/isatty.c | |
parent | 41b9df164866d57b82569b04412591769798c9e1 (diff) |
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
Notes
Notes:
svn path=/head/; revision=335898
Diffstat (limited to 'lib/libc/gen/isatty.c')
-rw-r--r-- | lib/libc/gen/isatty.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/libc/gen/isatty.c b/lib/libc/gen/isatty.c index 496fe5950324..de55b67ac0d0 100644 --- a/lib/libc/gen/isatty.c +++ b/lib/libc/gen/isatty.c @@ -29,10 +29,8 @@ * SUCH DAMAGE. */ -#if defined(LIBC_SCCS) && !defined(lint) -static char sccsid[] = "@(#)isatty.c 8.1 (Berkeley) 6/4/93"; -#endif /* LIBC_SCCS and not lint */ #include <sys/cdefs.h> +__SCCSID("@(#)isatty.c 8.1 (Berkeley) 6/4/93"); __FBSDID("$FreeBSD$"); #include <termios.h> |