Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libc/regex protect __RCSID the same way other reg*.c fil...



details:   https://anonhg.NetBSD.org/src/rev/ddba6ade476f
branches:  trunk
changeset: 814029:ddba6ade476f
user:      aymeric <aymeric%NetBSD.org@localhost>
date:      Mon Feb 29 22:10:13 2016 +0000

description:
protect __RCSID the same way other reg*.c files do, so that we can use this
file in libnbcompat

diffstat:

 lib/libc/regex/regsub.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (20 lines):

diff -r e5ade955f1a9 -r ddba6ade476f lib/libc/regex/regsub.c
--- a/lib/libc/regex/regsub.c   Mon Feb 29 22:01:20 2016 +0000
+++ b/lib/libc/regex/regsub.c   Mon Feb 29 22:10:13 2016 +0000
@@ -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>



Home | Main Index | Thread Index | Old Index