From 78e78d10af728be6c42e6b37ef87e5c43d117b2a Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Thu, 30 Dec 2021 15:16:11 +0100 Subject: libtrivfs: Fix static link of the random translator It needs to override trivfs_S_io_select. --- libtrivfs/io-select.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libtrivfs/io-select.c b/libtrivfs/io-select.c index 668b7a51..800ae655 100644 --- a/libtrivfs/io-select.c +++ b/libtrivfs/io-select.c @@ -23,7 +23,7 @@ #include "trivfs_io_S.h" #include -kern_return_t +kern_return_t __attribute__((weak)) trivfs_S_io_select (struct trivfs_protid *cred, mach_port_t reply, mach_msg_type_name_t replytype, @@ -38,7 +38,7 @@ trivfs_S_io_select (struct trivfs_protid *cred, return EOPNOTSUPP; } -kern_return_t +kern_return_t __attribute__((weak)) trivfs_S_io_select_timeout (struct trivfs_protid *cred, mach_port_t reply, mach_msg_type_name_t replytype, -- cgit v1.2.3