Fix ctype.h and wctype.h

This commit is contained in:
Justine Tunney 2024-07-21 15:54:17 -07:00
parent e7be5a5e2b
commit 7ebaff34c6
No known key found for this signature in database
GPG key ID: BE714B4575D6E328
180 changed files with 264 additions and 92 deletions

View file

@ -96,7 +96,7 @@ o/$(MODE)/tool/build/dso/sandbox.o: \
libc/calls/pledge.h \
libc/runtime/runtime.h \
libc/calls/pledge.internal.h \
libc/intrin/promises.internal.h \
libc/intrin/promises.h \
tool/build/BUILD.mk
o/$(MODE)/tool/build/dso/sandbox-$(ARCH).so: \

View file

@ -19,6 +19,7 @@
#include "ape/ape.h"
#include "libc/assert.h"
#include "libc/calls/calls.h"
#include "libc/ctype.h"
#include "libc/dce.h"
#include "libc/dos.internal.h"
#include "libc/elf/def.h"

View file

@ -30,6 +30,7 @@
#include "libc/stdio/stdio.h"
#include "libc/str/str.h"
#include "libc/sysv/consts/sig.h"
#include "libc/wctype.h"
#include "libc/x/x.h"
#include "third_party/getopt/getopt.internal.h"

View file

@ -17,6 +17,7 @@
PERFORMANCE OF THIS SOFTWARE.
*/
#include "tool/build/lib/javadown.h"
#include "libc/ctype.h"
#include "libc/mem/mem.h"
#include "libc/str/str.h"

View file

@ -17,6 +17,7 @@
PERFORMANCE OF THIS SOFTWARE.
*/
#include "libc/calls/calls.h"
#include "libc/ctype.h"
#include "libc/limits.h"
#include "libc/nt/struct/imageimportbyname.internal.h"
#include "libc/nt/struct/imageimportdescriptor.internal.h"

View file

@ -29,6 +29,7 @@
#include "libc/calls/syscall-nt.internal.h"
#include "libc/calls/syscall-sysv.internal.h"
#include "libc/calls/syscall_support-sysv.internal.h"
#include "libc/ctype.h"
#include "libc/dce.h"
#include "libc/elf/def.h"
#include "libc/elf/elf.h"

View file

@ -30,6 +30,7 @@
#include "libc/stdio/rand.h"
#include "libc/stdio/stdio.h"
#include "libc/str/str.h"
#include "libc/ctype.h"
#include "third_party/getopt/getopt.internal.h"
#define UPDATE "January 28th, 2008"

View file

@ -16,6 +16,7 @@
TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
*/
#include "libc/ctype.h"
#include "libc/errno.h"
#include "libc/macros.internal.h"
#include "libc/runtime/runtime.h"

View file

@ -23,6 +23,7 @@
#include "libc/stdio/stdio.h"
#include "libc/str/locale.h"
#include "libc/str/str.h"
#include "libc/wctype.h"
#include "third_party/getopt/getopt.internal.h"
#define USAGE \

View file

@ -17,12 +17,14 @@
PERFORMANCE OF THIS SOFTWARE.
*/
#include "libc/calls/calls.h"
#include "libc/ctype.h"
#include "libc/intrin/kprintf.h"
#include "libc/mem/mem.h"
#include "libc/runtime/runtime.h"
#include "libc/stdio/stdio.h"
#include "libc/str/locale.h"
#include "libc/str/str.h"
#include "libc/wctype.h"
#include "third_party/getopt/getopt.internal.h"
#define USAGE \

View file

@ -16,6 +16,7 @@
TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
*/
#include "libc/ctype.h"
#include "libc/fmt/itoa.h"
#include "libc/intrin/kprintf.h"
#include "libc/str/str.h"

View file

@ -17,6 +17,7 @@
PERFORMANCE OF THIS SOFTWARE.
*/
#include "libc/str/str.h"
#include "libc/wctype.h"
#include "tool/lambda/lib/blc.h"
char GetBit(FILE* f) {

View file

@ -18,6 +18,7 @@
*/
#include "tool/net/ljson.h"
#include "libc/assert.h"
#include "libc/ctype.h"
#include "libc/intrin/likely.h"
#include "libc/log/check.h"
#include "libc/log/log.h"

View file

@ -31,6 +31,7 @@
#include "libc/calls/struct/termios.h"
#include "libc/calls/struct/timespec.h"
#include "libc/calls/termios.h"
#include "libc/ctype.h"
#include "libc/dce.h"
#include "libc/dos.internal.h"
#include "libc/errno.h"

View file

@ -22,6 +22,7 @@
#include "libc/calls/struct/termios.h"
#include "libc/calls/struct/winsize.h"
#include "libc/calls/termios.h"
#include "libc/ctype.h"
#include "libc/errno.h"
#include "libc/fmt/conv.h"
#include "libc/fmt/itoa.h"

View file

@ -25,6 +25,7 @@
#include "libc/calls/struct/winsize.h"
#include "libc/calls/termios.h"
#include "libc/calls/ucontext.h"
#include "libc/ctype.h"
#include "libc/dce.h"
#include "libc/errno.h"
#include "libc/fmt/conv.h"

View file

@ -37,6 +37,7 @@
#include "libc/calls/struct/winsize.h"
#include "libc/calls/termios.h"
#include "libc/calls/ucontext.h"
#include "libc/ctype.h"
#include "libc/cxxabi.h"
#include "libc/errno.h"
#include "libc/fmt/conv.h"