X-Git-Url: https://wimlib.net/git/?a=blobdiff_plain;f=src%2Futil.c;h=242280961d634fbcee28def2272df4ef64dec741;hb=0efd94409732107bc4140364fc8fe76ef9236c1e;hp=111166728fdc226221015db9b577afe7b24875b8;hpb=b53f64c7034f18da022cdaa646c70f20033940c7;p=wimlib diff --git a/src/util.c b/src/util.c index 11116672..24228096 100644 --- a/src/util.c +++ b/src/util.c @@ -170,15 +170,6 @@ void *mempcpy(void *dst, const void *src, size_t n) } #endif -size_t -utf16le_strlen(const utf16lechar *s) -{ - const utf16lechar *p = s; - while (*p) - p++; - return (p - s) * sizeof(utf16lechar); -} - static bool seeded = false; static void