Skip to content

Commit c1f3660

Browse files
committed
os: replace __header_always_inline with DISPATCH_ALWAYS_INLINE
Since we build on non-XNU environments, we cannot rely on osfmk to provide the definition for `__header_always_inline`. Instead adopt `DISPATCH_ALWAYS_INLINE` to achieve the desired effect.
1 parent 48932f3 commit c1f3660

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

os/voucher_private.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ voucher_adopt(voucher_t _Nullable voucher OS_OBJECT_CONSUMED);
128128
*/
129129

130130
SPI_AVAILABLE(macos(12.0), ios(15.0))
131-
__header_always_inline bool
131+
DISPATCH_ALWAYS_INLINE bool
132132
voucher_needs_adopt(voucher_t _Nullable voucher)
133133
{
134134
#if __APPLE__

0 commit comments

Comments
 (0)