Fix nfc maker includes

This commit is contained in:
MX
2023-07-06 19:28:29 +03:00
parent 2211314900
commit 3f4887e8d3
5 changed files with 20 additions and 1 deletions

View File

@@ -0,0 +1,11 @@
#include "strnlen.h"
size_t strnlen(const char* s, size_t maxlen) {
size_t len;
for(len = 0; len < maxlen; len++, s++) {
if(!*s) break;
}
return len;
}