Fix build break

This commit is contained in:
Arun Prakash Jana 2020-04-15 21:05:10 +05:30
parent 425c0559a5
commit 124d66dcbd
No known key found for this signature in database
GPG key ID: A75979F35C080412

View file

@ -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
}