aboutsummaryrefslogtreecommitdiff
path: root/util.h
diff options
context:
space:
mode:
Diffstat (limited to 'util.h')
-rw-r--r--util.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/util.h b/util.h
index af215111..aa9fc8ba 100644
--- a/util.h
+++ b/util.h
@@ -35,11 +35,3 @@ sdbm_hash(const char *s)
return hash;
}
-
-#include <wchar.h>
-static inline int
-my_wcswidth(const wchar_t *s, size_t n)
-{
- int ret = wcswidth(s, n);
- return max(0, ret);
-}