Module Name: src
Committed By: aymeric
Date: Mon Feb 29 22:10:13 UTC 2016
Modified Files:
src/lib/libc/regex: regsub.c
Log Message:
protect __RCSID the same way other reg*.c files do, so that we can use this
file in libnbcompat
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/lib/libc/regex/regsub.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/lib/libc/regex/regsub.c
diff -u src/lib/libc/regex/regsub.c:1.2 src/lib/libc/regex/regsub.c:1.3
--- src/lib/libc/regex/regsub.c:1.2 Thu Jan 14 21:45:01 2016
+++ src/lib/libc/regex/regsub.c Mon Feb 29 22:10:13 2016
@@ -1,4 +1,4 @@
-/* $NetBSD: regsub.c,v 1.2 2016/01/14 21:45:01 christos Exp $ */
+/* $NetBSD: regsub.c,v 1.3 2016/02/29 22:10:13 aymeric Exp $ */
/*-
* Copyright (c) 2015 The NetBSD Foundation, Inc.
@@ -29,7 +29,9 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#include <sys/cdefs.h>
-__RCSID("$NetBSD: regsub.c,v 1.2 2016/01/14 21:45:01 christos Exp $");
+#if defined(LIBC_SCCS) && !defined(lint)
+__RCSID("$NetBSD: regsub.c,v 1.3 2016/02/29 22:10:13 aymeric Exp $");
+#endif
#include <sys/param.h>
#include <ctype.h>