summaryrefslogtreecommitdiffstats
path: root/sys/miscfs/devfs/reproto.sh
diff options
context:
space:
mode:
Diffstat (limited to 'sys/miscfs/devfs/reproto.sh')
-rw-r--r--sys/miscfs/devfs/reproto.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/miscfs/devfs/reproto.sh b/sys/miscfs/devfs/reproto.sh
index dc4b731..277f68a 100644
--- a/sys/miscfs/devfs/reproto.sh
+++ b/sys/miscfs/devfs/reproto.sh
@@ -1,2 +1,6 @@
#!/bin/sh
-grep -h '/\*proto\*/' *.c |awk '{print $0 ";"}' >devfs_proto.h
+echo "/* THIS FILE PRODUCED AUTOMATICALLY */" >devfs_proto.h
+grep -h '/\*proto\*/' *.c |awk '{print $0 ";"}' >>devfs_proto.h
+echo "/* THIS FILE PRODUCED AUTOMATICALLY */" >>devfs_proto.h
+echo "/* DO NOT EDIT (see reproto.sh) */" >>devfs_proto.h
+
OpenPOWER on IntegriCloud