summaryrefslogtreecommitdiffstats
path: root/sys/tools
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2004-12-01 11:51:20 +0000
committerphk <phk@FreeBSD.org>2004-12-01 11:51:20 +0000
commit5951763807c9b6250b4836e194dfec959d4b5be6 (patch)
treeab4adbc015825581bb176ea01472cb957baf5d28 /sys/tools
parentcf2c3cae344e2c0fd2316b579a8e3698105b58d1 (diff)
downloadFreeBSD-src-5951763807c9b6250b4836e194dfec959d4b5be6.zip
FreeBSD-src-5951763807c9b6250b4836e194dfec959d4b5be6.tar.gz
emit a "typedef vop_foo_t(struct vop_foo_args *);" which we can use
to prototype VOP functions with.
Diffstat (limited to 'sys/tools')
-rw-r--r--sys/tools/vnode_if.awk1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/tools/vnode_if.awk b/sys/tools/vnode_if.awk
index 8977546..026db30 100644
--- a/sys/tools/vnode_if.awk
+++ b/sys/tools/vnode_if.awk
@@ -297,6 +297,7 @@ while ((getline < srcfile) > 0) {
printh("}");
add_debug_post(name);
printh("\treturn (rc);\n}");
+ printh("typedef int "name"_t(struct "name"_args *);\n")
}
if (cfile) {
OpenPOWER on IntegriCloud