From 5d49332d4fa60d1fb9c01d83ca350d4945d02268 Mon Sep 17 00:00:00 2001 From: Michael Forney Date: Tue, 16 Apr 2019 17:27:07 -0700 Subject: [PATCH] libutf: Adjust runelen prototype to match definition The `const` isn't useful here. --- utf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 *);