mirror of
https://github.com/EnderIce2/Fennix.git
synced 2025-07-01 18:39:16 +00:00
refactor(kernel): remove 'foreach' macro
Signed-off-by: EnderIce2 <enderice2@protonmail.com>
This commit is contained in:
@ -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;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user