aboutsummaryrefslogtreecommitdiff
path: root/linenoise.c
diff options
context:
space:
mode:
Diffstat (limited to 'linenoise.c')
-rw-r--r--linenoise.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/linenoise.c b/linenoise.c
index 63d4899..e805356 100644
--- a/linenoise.c
+++ b/linenoise.c
@@ -717,16 +717,6 @@ static int getWindowSize(struct current *current)
}
#endif
-static int utf8_getchars(char *buf, int c)
-{
-#ifdef USE_UTF8
- return utf8_fromunicode(buf, c);
-#else
- *buf = c;
- return 1;
-#endif
-}
-
/**
* Returns the unicode character at the given offset,
* or -1 if none.