From d3c118ef948d741a56d11a7cbe23094958dffe72 Mon Sep 17 00:00:00 2001 From: John Baldwin Date: Wed, 23 May 2018 17:02:12 +0000 Subject: Use __SCCSID() for SCCS IDs. - Define NO__SCCSID in CFLAGS to preserve existing behavior of omitting SCCS IDs by default. - While here, fix the $FreeBSD$ in pw_util.c to use __FBSDID. --- libutil/pw_util.c | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/libutil/pw_util.c b/libutil/pw_util.c index d28741c..112b6d8 100644 --- a/libutil/pw_util.c +++ b/libutil/pw_util.c @@ -36,13 +36,9 @@ * SUCH DAMAGE. */ -#ifndef lint -#if 0 -static const char sccsid[] = "@(#)pw_util.c 8.3 (Berkeley) 4/2/94"; -#endif -static const char rcsid[] = - "$FreeBSD$"; -#endif /* not lint */ +#include +__FBSDID("$FreeBSD$"); +__SCCSID("@(#)pw_util.c 8.3 (Berkeley) 4/2/94"); /* * This file is used by all the "password" programs; vipw(8), chpass(1), -- cgit v1.2.3-56-ge451