Commit 5c32f025d1b6b0692e4a5175220127ddfda88f17

Jim Meyering 2001-08-04T17:07:37

Don't include <limits.h>. Include <stdlib.h> and <string.h> unconditionally. (iswcntrl, mbsinit, ISCNTRL): New macros. (mbsnwidth): Use K&R style function declarations. Don't bother checking for MB_LEN_MAX == 1, since the compiler can optimize it when MB_CUR_MAX == 1. The width of control characters is zero, not 1.