]> git.lizzy.rs Git - linenoise.git/commitdiff
Remove a spurious function declaration
authorSteve Bennett <steveb@workware.net.au>
Wed, 25 Jul 2018 06:51:52 +0000 (16:51 +1000)
committerSteve Bennett <steveb@workware.net.au>
Wed, 25 Jul 2018 07:00:18 +0000 (17:00 +1000)
Signed-off-by: Steve Bennett <steveb@workware.net.au>
stringbuf.c

index b42a9cc1fc7640c57c72e3ef965469c01716600d..f83c1b8d54fee7c3964ad68a208c7f0f68db1905 100644 (file)
@@ -47,7 +47,6 @@ void sb_append(stringbuf *sb, const char *str)
 
 void sb_append_len(stringbuf *sb, const char *str, int len)
 {
-       int utf8_strlen(const char *str, int bytelen);
        if (sb->remaining < len + 1) {
                sb_realloc(sb, sb->last + len + 1 + SB_INCREMENT);
        }