Source-Changes-HG archive

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

[src/trunk]: src/sys/kern add RCSID to generated .c file



details:   https://anonhg.NetBSD.org/src/rev/b713253aa717
branches:  trunk
changeset: 517402:b713253aa717
user:      lukem <lukem%NetBSD.org@localhost>
date:      Mon Nov 12 14:34:24 2001 +0000

description:
add RCSID to generated .c file

diffstat:

 sys/kern/vnode_if.sh |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (24 lines):

diff -r 17e86a8de090 -r b713253aa717 sys/kern/vnode_if.sh
--- a/sys/kern/vnode_if.sh      Mon Nov 12 11:12:16 2001 +0000
+++ b/sys/kern/vnode_if.sh      Mon Nov 12 14:34:24 2001 +0000
@@ -33,7 +33,7 @@
  * SUCH DAMAGE.
  */
 "
-SCRIPT_ID='$NetBSD: vnode_if.sh,v 1.29 2001/05/07 08:46:02 lukem Exp $'
+SCRIPT_ID='$NetBSD: vnode_if.sh,v 1.30 2001/11/12 14:34:24 lukem Exp $'
 
 # Script to produce VFS front-end sugar.
 #
@@ -265,6 +265,11 @@
 echo -n "$warning" | sed -e 's/\$//g;s/@/\$/g'
 echo ""
 echo -n "$copyright"
+echo "
+#include <sys/cdefs.h>
+__KERNEL_RCSID(0, \"\$NetBSD\$\");
+"
+
 echo '
 /*
  * If we have LKM support, always include the non-inline versions for



Home | Main Index | Thread Index | Old Index