LibC: Make _get_uthread a macro

This allows nice inlining :)
This commit is contained in:
2025-08-03 19:33:01 +03:00
parent 4e705a91af
commit 4a95343936
3 changed files with 14 additions and 13 deletions

View File

@@ -1,8 +1,6 @@
#include <errno.h>
#include <pthread.h>
extern uthread* _get_uthread();
int* __errno_location()
{
return &_get_uthread()->errno_;