on master help sign in
builtin_wcwidth: make static
ee91cb6Jonathan Daugherty
cbits/mk_wcwidth.c+1−1
@@ -141,7 +141,7 @@ static int vty_bisearch(HsChar ucs, const struct interval *table, int max) {
141 * in ISO 10646.
141 * in ISO 10646.
142 */
142 */
143
143
144−HsInt builtin_wcwidth(HsChar ucs)
144+static HsInt builtin_wcwidth(HsChar ucs)
145{
145{
146 /* sorted list of non-overlapping intervals of non-spacing characters */
146 /* sorted list of non-overlapping intervals of non-spacing characters */
147 /* generated by "uniset +cat=Me +cat=Mn +cat=Cf -00AD +1160-11FF +200B c" */
147 /* generated by "uniset +cat=Me +cat=Mn +cat=Cf -00AD +1160-11FF +200B c" */