sbase

suckless unix tools
git clone git://git.2f30.org/sbase
Log | Files | Refs | README | LICENSE

commit 5d49332d4fa60d1fb9c01d83ca350d4945d02268
parent 09c2311b3a3d8514f2edf0b08a389e7eeba404ce
Author: Michael Forney <mforney@mforney.org>
Date:   Tue, 16 Apr 2019 17:27:07 -0700

libutf: Adjust runelen prototype to match definition

The `const` isn't useful here.

Diffstat:
Mutf.h | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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 *);