CVSROOT: /cvs Module name: src Changes by: j...@cvs.openbsd.org 2024/02/04 06:03:18
Modified files: lib/libc/gen : isctype.c ctype_.c include : ctype.h Log message: Move ctype.h defines to the _CTYPE_ prefix, avoids clashes with identifiers in ports Even if those _[BCNLPSUX] defines are in the reserved namespace, some ports make use of those identifiers and thus need pointless headscratching and patches. Just use a longer reserved prefix. We can't just #undef those defines as they are used in libc. Change similar to what NetBSD did around 2010. Went through base builds and an amd64 bulk build, the only fallout was lib(e)stdc++ base_ctype.h. "make includes" will install the latest ctype.h and libstdc++ ctype_base.h. "makes sense" deraadt@, ok sthen@ tb@