commit 5d49332d4fa60d1fb9c01d83ca350d4945d02268
Author: Michael Forney <[email protected]>
AuthorDate: Tue Apr 16 17:27:07 2019 -0700
Commit: Michael Forney <[email protected]>
CommitDate: Tue Apr 16 17:27:38 2019 -0700
libutf: Adjust runelen prototype to match definition
The `const` isn't useful here.
diff --git a/utf.h b/utf.h
index a74be94..23a9887 100644
--- a/utf.h
+++ b/utf.h
@@ -32,7 +32,7 @@ enum {
int runetochar(char *, const Rune *);
int chartorune(Rune *, const char *);
int charntorune(Rune *, const char *, size_t);
-int runelen(const Rune);
+int runelen(Rune);
size_t runenlen(const Rune *, size_t);
int fullrune(const char *, size_t);
char *utfecpy(char *, char *, const char *);