X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/39236c6e673c41db228275375ab7fdb0f837b292..7e41aa883dd258f888d0470250eead40a53ef1f5:/libsyscall/custom/errno.c?ds=inline diff --git a/libsyscall/custom/errno.c b/libsyscall/custom/errno.c index 640ed14fd..86f754a65 100644 --- a/libsyscall/custom/errno.c +++ b/libsyscall/custom/errno.c @@ -77,22 +77,3 @@ cerror(int err) _pthread_exit_if_canceled(err); return cerror_nocancel(err); } - -#if !TARGET_OS_EMBEDDED - -// Internal symbol no longer used by anybody in Libsystem but required for -// backwards compatibility with 3rd parties - -void -cthread_set_errno_self(int err, int nocancel) -{ - asm(".global $ld$hide$os10.9$_cthread_set_errno_self\n\t" - ".set $ld$hide$os10.9$_cthread_set_errno_self, _cthread_set_errno_self"); - if (nocancel) { - cerror_nocancel(err); - } else { - cerror(err); - } -} - -#endif