Merge "Remove dead code."

This commit is contained in:
Elliott Hughes 2019-01-25 17:01:27 +00:00 committed by Gerrit Code Review
commit cdd0aaa3ae
2 changed files with 0 additions and 20 deletions

View file

@ -275,25 +275,6 @@ size_t strlen16(const char16_t *s)
return ss-s;
}
char16_t *strncpy16(char16_t *dst, const char16_t *src, size_t n)
{
char16_t *q = dst;
const char16_t *p = src;
char ch;
while (n) {
n--;
*q++ = ch = *p++;
if ( !ch )
break;
}
*q = 0;
return dst;
}
size_t strnlen16(const char16_t *s, size_t maxlen)
{
const char16_t *ss = s;

View file

@ -28,7 +28,6 @@ int strncmp16(const char16_t *s1, const char16_t *s2, size_t n);
size_t strlen16(const char16_t *);
size_t strnlen16(const char16_t *, size_t);
char16_t *strcpy16(char16_t *, const char16_t *);
char16_t *strncpy16(char16_t *, const char16_t *, size_t);
char16_t *strstr16(const char16_t*, const char16_t*);
// Version of comparison that supports embedded NULs.