refactor(kernel): remove 'foreach' macro

Signed-off-by: EnderIce2 <enderice2@protonmail.com>
This commit is contained in:
2025-03-29 22:43:07 +00:00
parent 93d897e95c
commit 8d71ed0ad5
42 changed files with 112 additions and 119 deletions

View File

@ -17,12 +17,8 @@
#pragma once
#include <convert.h>
namespace std
{
int strcmp(const char *lhs, const char *rhs)
{
for (; *lhs == *rhs && *lhs; lhs++, rhs++)
;
return *(unsigned char *)lhs - *(unsigned char *)rhs;
}
}