diff options
author | phk <phk@FreeBSD.org> | 2004-12-01 11:51:20 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2004-12-01 11:51:20 +0000 |
commit | 5951763807c9b6250b4836e194dfec959d4b5be6 (patch) | |
tree | ab4adbc015825581bb176ea01472cb957baf5d28 /sys | |
parent | cf2c3cae344e2c0fd2316b579a8e3698105b58d1 (diff) | |
download | FreeBSD-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')
-rw-r--r-- | sys/tools/vnode_if.awk | 1 |
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) { |