libutf: Adjust runelen prototype to match definition

The `const` isn't useful here.
This commit is contained in:
Michael Forney 2019-04-16 17:27:07 -07:00
parent 09c2311b3a
commit 5d49332d4f

2
utf.h
View File

@ -32,7 +32,7 @@ enum {
int runetochar(char *, const Rune *); int runetochar(char *, const Rune *);
int chartorune(Rune *, const char *); int chartorune(Rune *, const char *);
int charntorune(Rune *, const char *, size_t); int charntorune(Rune *, const char *, size_t);
int runelen(const Rune); int runelen(Rune);
size_t runenlen(const Rune *, size_t); size_t runenlen(const Rune *, size_t);
int fullrune(const char *, size_t); int fullrune(const char *, size_t);
char *utfecpy(char *, char *, const char *); char *utfecpy(char *, char *, const char *);