Additionally translate daddr_t to int64_t in the rumpvnode interface.

The type daddr_t is not available for all systems (e.g. Linux systems with
musl libc), and exposing it will just cause an unnecessary compilation
failure even if the type is not used.
This commit is contained in:
pooka 2013-07-17 21:20:53 +00:00
parent 995432063b
commit e4ca638e55

View File

@ -29,7 +29,7 @@ copyright="\
* SUCH DAMAGE.
*/
"
SCRIPT_ID='$NetBSD: vnode_if.sh,v 1.58 2011/07/11 08:23:00 hannken Exp $'
SCRIPT_ID='$NetBSD: vnode_if.sh,v 1.59 2013/07/17 21:20:53 pooka Exp $'
# Script to produce VFS front-end sugar.
#
@ -150,6 +150,8 @@ awk_parser='
at = "off_t";
if (at == "kauth_cred_t")
at = "struct kauth_cred *"
if (at == "daddr_t")
at = "int64_t"
}
argtype[argc] = at;
i++;