aboutsummaryrefslogtreecommitdiff
path: root/vendor/librune/lib/utf8/u8wdth.c
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/librune/lib/utf8/u8wdth.c')
-rw-r--r--vendor/librune/lib/utf8/u8wdth.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/vendor/librune/lib/utf8/u8wdth.c b/vendor/librune/lib/utf8/u8wdth.c
deleted file mode 100644
index 0bc5785..0000000
--- a/vendor/librune/lib/utf8/u8wdth.c
+++ /dev/null
@@ -1,13 +0,0 @@
-#include "utf8.h"
-
-#include "internal/common.h"
-
-int
-u8wdth(rune ch)
-{
- return ch <= _1B_MAX ? 1
- : ch <= _2B_MAX ? 2
- : ch <= _3B_MAX ? 3
- : ch <= _4B_MAX ? 4
- : 0;
-}