mirror of
https://github.com/jarun/nnn.git
synced 2025-03-12 17:54:04 +00:00
Fix build break
This commit is contained in:
parent
425c0559a5
commit
124d66dcbd
1 changed files with 2 additions and 2 deletions
|
@ -930,9 +930,9 @@ static size_t xstrsncpy(char *restrict dst, const char *restrict src, size_t n)
|
|||
static inline size_t xstrlen(const char *s)
|
||||
{
|
||||
#if !defined(__GLIBC__)
|
||||
return strlen(s);
|
||||
return strlen(s); // NOLINT
|
||||
#else
|
||||
return (char *)rawmemchr(s, '\0') - s;
|
||||
return (char *)rawmemchr(s, '\0') - s; // NOLINT
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue