lib: c: remove errno log messages

This commit is contained in:
2026-03-24 12:41:41 +00:00
parent 30614e679b
commit d3a25f0af7
2 changed files with 0 additions and 5 deletions

View File

@@ -1,12 +1,10 @@
#include <errno.h>
#include <mango/log.h>
#include <mango/status.h>
static int __errno = 32;
int __attribute__((weak)) * __errno_location(void)
{
kern_log("using builtin errno");
return &__errno;
}

View File

@@ -1,12 +1,9 @@
#include "pthread.h"
#include <mango/log.h>
#include <pthread.h>
#include <stdio.h>
int *__errno_location(void)
{
struct __pthread *self = pthread_self();
kern_logf("using pthread errno %p", &self->thr_errno);
return &self->thr_errno;
}