]> xenbits.xensource.com Git - people/julieng/freebsd.git/commit
xen: arm: Use __typeof__ rather than typeof dev-arm
authorJulien Grall <julien.grall@citrix.com>
Sun, 4 Oct 2015 19:33:04 +0000 (20:33 +0100)
committerJulien Grall <julien.grall@citrix.com>
Mon, 5 Oct 2015 17:56:33 +0000 (18:56 +0100)
commit773fdb0f2a40ab25792472a3c4601f39601edcf4
tree744da5e5e16184168f713a26a900c2e26bebc266
parent67d99630d47db8cf1b0168e6729fe049daefb6de
xen: arm: Use __typeof__ rather than typeof

Typeof is not portable:

/usr/src/freebsd/sys/xen/hypervisor.h:93:2: error: implicit declaration
of function 'typeof' is invalid in C99
[-Werror,-Wimplicit-function-declaration]
sys/xen/interface/arch-arm.h