summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlukem <lukem@NetBSD.org>2001-11-12 14:57:02 +0000
committerlukem <lukem@NetBSD.org>2001-11-12 14:57:02 +0000
commitbbfda04203b88ccc5fbf367e6e352f882f9880b8 (patch)
treef8cc1d0eabb7f90b9213437a0273d5c71ea43ebf
parent182abdd796bfa95cb56ed75a2b2af0ac7c0af3d8 (diff)
add RCSID to generated .c files
-rw-r--r--sys/kern/makesyscalls.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/kern/makesyscalls.sh b/sys/kern/makesyscalls.sh
index 36b8d019866..635ad6898c5 100644
--- a/sys/kern/makesyscalls.sh
+++ b/sys/kern/makesyscalls.sh
@@ -1,5 +1,5 @@
#! /bin/sh -
-# $NetBSD: makesyscalls.sh,v 1.51 2001/10/30 21:52:27 manu Exp $
+# $NetBSD: makesyscalls.sh,v 1.52 2001/11/12 14:57:02 lukem Exp $
#
# Copyright (c) 1994, 1996, 2000 Christopher G. Demetriou
# All rights reserved.
@@ -177,8 +177,10 @@ BEGIN {
}
NR == 1 {
printf " * created from%s\n */\n\n", $0 > sysdcl
+ printf "#include <sys/cdefs.h>\n__KERNEL_RCSID(0, \"\$NetBSD\$\");\n\n" > sysdcl
printf " * created from%s\n */\n\n", $0 > sysnames
+ printf "#include <sys/cdefs.h>\n__KERNEL_RCSID(0, \"\$NetBSD\$\");\n\n" > sysnames
# System call names are included by userland (kdump(1)), so
# hide the include files from it.