diff options
author | Poul-Henning Kamp <phk@FreeBSD.org> | 2004-12-01 11:51:20 +0000 |
---|---|---|
committer | Poul-Henning Kamp <phk@FreeBSD.org> | 2004-12-01 11:51:20 +0000 |
commit | be392b40255efde144eacc0c3d5af66fbbec3243 (patch) | |
tree | ab4adbc015825581bb176ea01472cb957baf5d28 /sys/tools | |
parent | d21474cec4a0e725512c2e3e5eda80125429fc2d (diff) | |
download | src-be392b40255efde144eacc0c3d5af66fbbec3243.tar.gz src-be392b40255efde144eacc0c3d5af66fbbec3243.zip |
emit a "typedef vop_foo_t(struct vop_foo_args *);" which we can use
to prototype VOP functions with.
Notes
Notes:
svn path=/head/; revision=138266
Diffstat (limited to 'sys/tools')
-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 8977546adb73..026db30f3347 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) { |