mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-05-11 06:09:08 -07:00
Fix nfc maker includes
This commit is contained in:
11
applications/external/nfc_maker/strnlen.c
vendored
Normal file
11
applications/external/nfc_maker/strnlen.c
vendored
Normal 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;
|
||||
}
|
||||
Reference in New Issue
Block a user