axl_string.h shouldn't depend on axl_memory.h

This commit is contained in:
NukeBird 2025-12-02 17:17:13 +03:00
parent 0b74748a0d
commit aecae2baa8

View file

@ -1,5 +1,4 @@
#include "axl_string.h"
#include "axl_memory.h"
u32 axl_strlen(const i8* s)
{
@ -157,7 +156,7 @@ i8* axl_strstr(const i8* str, const i8* substr)
while(*str)
{
if(!axl_memcmp(str++, substr, n))
if(!axl_strncmp(str++, substr, n))
{
return (i8*)(str - 1);
}