mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-08-02 07:50:31 +00:00
Fix ctype.h and wctype.h
This commit is contained in:
parent
e7be5a5e2b
commit
7ebaff34c6
180 changed files with 264 additions and 92 deletions
1
third_party/chibicc/as.c
vendored
1
third_party/chibicc/as.c
vendored
|
@ -38,6 +38,7 @@
|
|||
#include "third_party/chibicc/file.h"
|
||||
#include "third_party/gdtoa/gdtoa.h"
|
||||
#include "libc/serialize.h"
|
||||
#include "libc/ctype.h"
|
||||
#include "tool/build/lib/elfwriter.h"
|
||||
|
||||
#define OSZ 0x66
|
||||
|
|
1
third_party/chibicc/asm.c
vendored
1
third_party/chibicc/asm.c
vendored
|
@ -18,6 +18,7 @@
|
|||
╚─────────────────────────────────────────────────────────────────────────────*/
|
||||
#include "libc/intrin/bsf.h"
|
||||
#include "libc/intrin/bsr.h"
|
||||
#include "libc/ctype.h"
|
||||
#include "third_party/chibicc/chibicc.h"
|
||||
|
||||
#define PRECIOUS 0b1111000000101000 // bx,bp,r12-r15
|
||||
|
|
1
third_party/chibicc/tokenize.c
vendored
1
third_party/chibicc/tokenize.c
vendored
|
@ -5,6 +5,7 @@
|
|||
#include "libc/str/tab.internal.h"
|
||||
#include "third_party/chibicc/chibicc.h"
|
||||
#include "third_party/chibicc/file.h"
|
||||
#include "libc/ctype.h"
|
||||
#include "third_party/chibicc/kw.h"
|
||||
|
||||
// Input file
|
||||
|
|
1
third_party/ctags/args.c
vendored
1
third_party/ctags/args.c
vendored
|
@ -13,6 +13,7 @@
|
|||
#include "libc/str/str.h"
|
||||
#include "third_party/ctags/args.h"
|
||||
#include "third_party/ctags/debug.h"
|
||||
#include "libc/ctype.h"
|
||||
#include "third_party/ctags/routines.h"
|
||||
|
||||
/*
|
||||
|
|
1
third_party/ctags/asm.c
vendored
1
third_party/ctags/asm.c
vendored
|
@ -13,6 +13,7 @@
|
|||
/*
|
||||
* INCLUDE FILES
|
||||
*/
|
||||
#include "libc/ctype.h"
|
||||
#include "third_party/ctags/general.h" /* must always come first */
|
||||
|
||||
#include "libc/mem/alg.h"
|
||||
|
|
1
third_party/ctags/asp.c
vendored
1
third_party/ctags/asp.c
vendored
|
@ -13,6 +13,7 @@
|
|||
/*
|
||||
* INCLUDE FILES
|
||||
*/
|
||||
#include "libc/ctype.h"
|
||||
#include "third_party/ctags/general.h" /* must always come first */
|
||||
|
||||
#include "libc/mem/alg.h"
|
||||
|
|
1
third_party/ctags/awk.c
vendored
1
third_party/ctags/awk.c
vendored
|
@ -12,6 +12,7 @@
|
|||
/*
|
||||
* INCLUDE FILES
|
||||
*/
|
||||
#include "libc/ctype.h"
|
||||
#include "third_party/ctags/general.h" /* must always come first */
|
||||
|
||||
#include "libc/mem/alg.h"
|
||||
|
|
1
third_party/ctags/basic.c
vendored
1
third_party/ctags/basic.c
vendored
|
@ -15,6 +15,7 @@
|
|||
/*
|
||||
* INCLUDE FILES
|
||||
*/
|
||||
#include "libc/ctype.h"
|
||||
#include "third_party/ctags/general.h" /* must always come first */
|
||||
|
||||
#include "libc/mem/alg.h"
|
||||
|
|
1
third_party/ctags/beta.c
vendored
1
third_party/ctags/beta.c
vendored
|
@ -15,6 +15,7 @@
|
|||
/*
|
||||
* INCLUDE FILES
|
||||
*/
|
||||
#include "libc/ctype.h"
|
||||
#include "third_party/ctags/general.h" /* must always come first */
|
||||
|
||||
#include "libc/mem/alg.h"
|
||||
|
|
1
third_party/ctags/eiffel.c
vendored
1
third_party/ctags/eiffel.c
vendored
|
@ -14,6 +14,7 @@
|
|||
* INCLUDE FILES
|
||||
*/
|
||||
#include "libc/fmt/conv.h"
|
||||
#include "libc/ctype.h"
|
||||
#include "third_party/ctags/general.h" /* must always come first */
|
||||
|
||||
#ifdef TYPE_REFERENCE_TOOL
|
||||
|
|
1
third_party/ctags/entry.c
vendored
1
third_party/ctags/entry.c
vendored
|
@ -13,6 +13,7 @@
|
|||
* INCLUDE FILES
|
||||
*/
|
||||
#include "libc/runtime/runtime.h"
|
||||
#include "libc/ctype.h"
|
||||
#include "third_party/ctags/general.h" /* must always come first */
|
||||
|
||||
#include "libc/mem/alg.h"
|
||||
|
|
1
third_party/ctags/erlang.c
vendored
1
third_party/ctags/erlang.c
vendored
|
@ -13,6 +13,7 @@
|
|||
/*
|
||||
* INCLUDE FILES
|
||||
*/
|
||||
#include "libc/ctype.h"
|
||||
#include "third_party/ctags/general.h" /* must always come first */
|
||||
|
||||
#include "libc/mem/alg.h"
|
||||
|
|
2
third_party/ctags/flex.c
vendored
2
third_party/ctags/flex.c
vendored
|
@ -22,6 +22,8 @@
|
|||
#include "third_party/ctags/general.h" /* must always come first */
|
||||
#include "libc/str/str.h" /* to define isalpha () */
|
||||
#include "libc/runtime/runtime.h"
|
||||
#include "libc/ctype.h"
|
||||
|
||||
#ifdef DEBUG
|
||||
#include "libc/calls/calls.h"
|
||||
#include "libc/stdio/dprintf.h"
|
||||
|
|
1
third_party/ctags/general.h
vendored
1
third_party/ctags/general.h
vendored
|
@ -11,6 +11,7 @@
|
|||
#ifndef _GENERAL_H
|
||||
#define _GENERAL_H
|
||||
#include "third_party/ctags/config.h"
|
||||
#include "libc/ctype.h"
|
||||
|
||||
/* Define standard error destination
|
||||
*/
|
||||
|
|
1
third_party/ctags/get.c
vendored
1
third_party/ctags/get.c
vendored
|
@ -13,6 +13,7 @@
|
|||
/*
|
||||
* INCLUDE FILES
|
||||
*/
|
||||
#include "libc/ctype.h"
|
||||
#include "third_party/ctags/general.h" /* must always come first */
|
||||
|
||||
#include "libc/mem/alg.h"
|
||||
|
|
1
third_party/ctags/go.c
vendored
1
third_party/ctags/go.c
vendored
|
@ -2,6 +2,7 @@
|
|||
* INCLUDE FILES
|
||||
*/
|
||||
#include "third_party/ctags/general.h" /* must always come first */
|
||||
#include "libc/ctype.h"
|
||||
#include "libc/runtime/runtime.h"
|
||||
|
||||
#include "third_party/ctags/debug.h"
|
||||
|
|
2
third_party/ctags/jscript.c
vendored
2
third_party/ctags/jscript.c
vendored
|
@ -21,6 +21,8 @@
|
|||
#include "third_party/ctags/general.h" /* must always come first */
|
||||
#include "libc/str/str.h" /* to define isalpha () */
|
||||
#include "libc/runtime/runtime.h"
|
||||
#include "libc/ctype.h"
|
||||
|
||||
#ifdef DEBUG
|
||||
#include "libc/calls/calls.h"
|
||||
#include "libc/stdio/dprintf.h"
|
||||
|
|
1
third_party/ctags/lisp.c
vendored
1
third_party/ctags/lisp.c
vendored
|
@ -12,6 +12,7 @@
|
|||
/*
|
||||
* INCLUDE FILES
|
||||
*/
|
||||
#include "libc/ctype.h"
|
||||
#include "third_party/ctags/general.h" /* must always come first */
|
||||
|
||||
#include "third_party/ctags/parse.h"
|
||||
|
|
1
third_party/ctags/lregex.c
vendored
1
third_party/ctags/lregex.c
vendored
|
@ -16,6 +16,7 @@
|
|||
/*
|
||||
* INCLUDE FILES
|
||||
*/
|
||||
#include "libc/ctype.h"
|
||||
#include "third_party/ctags/general.h" /* must always come first */
|
||||
|
||||
#include "libc/mem/alg.h"
|
||||
|
|
1
third_party/ctags/lua.c
vendored
1
third_party/ctags/lua.c
vendored
|
@ -12,6 +12,7 @@
|
|||
/*
|
||||
* INCLUDE FILES
|
||||
*/
|
||||
#include "libc/ctype.h"
|
||||
#include "third_party/ctags/general.h" /* must always come first */
|
||||
|
||||
#include "libc/mem/alg.h"
|
||||
|
|
1
third_party/ctags/make.c
vendored
1
third_party/ctags/make.c
vendored
|
@ -12,6 +12,7 @@
|
|||
/*
|
||||
* INCLUDE FILES
|
||||
*/
|
||||
#include "libc/ctype.h"
|
||||
#include "third_party/ctags/general.h" /* must always come first */
|
||||
|
||||
#include "libc/mem/alg.h"
|
||||
|
|
1
third_party/ctags/parse.c
vendored
1
third_party/ctags/parse.c
vendored
|
@ -13,6 +13,7 @@
|
|||
/*
|
||||
* INCLUDE FILES
|
||||
*/
|
||||
#include "libc/ctype.h"
|
||||
#include "third_party/ctags/general.h" /* must always come first */
|
||||
|
||||
#include "libc/mem/alg.h"
|
||||
|
|
1
third_party/ctags/pascal.c
vendored
1
third_party/ctags/pascal.c
vendored
|
@ -13,6 +13,7 @@
|
|||
/*
|
||||
* INCLUDE FILES
|
||||
*/
|
||||
#include "libc/ctype.h"
|
||||
#include "third_party/ctags/general.h" /* must always come first */
|
||||
|
||||
#include "libc/mem/alg.h"
|
||||
|
|
1
third_party/ctags/perl.c
vendored
1
third_party/ctags/perl.c
vendored
|
@ -13,6 +13,7 @@
|
|||
/*
|
||||
* INCLUDE FILES
|
||||
*/
|
||||
#include "libc/ctype.h"
|
||||
#include "third_party/ctags/general.h" /* must always come first */
|
||||
|
||||
#include "libc/mem/alg.h"
|
||||
|
|
1
third_party/ctags/python.c
vendored
1
third_party/ctags/python.c
vendored
|
@ -13,6 +13,7 @@
|
|||
* INCLUDE FILES
|
||||
*/
|
||||
#include "libc/mem/mem.h"
|
||||
#include "libc/ctype.h"
|
||||
#include "third_party/ctags/general.h" /* must always come first */
|
||||
|
||||
#include "libc/mem/alg.h"
|
||||
|
|
1
third_party/ctags/read.c
vendored
1
third_party/ctags/read.c
vendored
|
@ -13,6 +13,7 @@
|
|||
/*
|
||||
* INCLUDE FILES
|
||||
*/
|
||||
#include "libc/ctype.h"
|
||||
#include "third_party/ctags/general.h" /* must always come first */
|
||||
|
||||
#include "libc/mem/alg.h"
|
||||
|
|
1
third_party/ctags/readtags.c
vendored
1
third_party/ctags/readtags.c
vendored
|
@ -14,6 +14,7 @@
|
|||
#include "libc/mem/mem.h"
|
||||
#include "libc/stdio/stdio.h"
|
||||
#include "libc/str/str.h"
|
||||
#include "libc/ctype.h"
|
||||
#include "third_party/ctags/readtags.h"
|
||||
|
||||
/*
|
||||
|
|
1
third_party/ctags/routines.c
vendored
1
third_party/ctags/routines.c
vendored
|
@ -19,6 +19,7 @@
|
|||
#include "libc/sysv/consts/s.h"
|
||||
#include "third_party/ctags/config.h"
|
||||
#include "third_party/ctags/debug.h"
|
||||
#include "libc/ctype.h"
|
||||
#include "third_party/ctags/routines.h"
|
||||
|
||||
/*
|
||||
|
|
1
third_party/ctags/ruby.c
vendored
1
third_party/ctags/ruby.c
vendored
|
@ -15,6 +15,7 @@
|
|||
/*
|
||||
* INCLUDE FILES
|
||||
*/
|
||||
#include "libc/ctype.h"
|
||||
#include "third_party/ctags/general.h" /* must always come first */
|
||||
|
||||
#include "libc/mem/alg.h"
|
||||
|
|
1
third_party/ctags/scheme.c
vendored
1
third_party/ctags/scheme.c
vendored
|
@ -13,6 +13,7 @@
|
|||
/*
|
||||
* INCLUDE FILES
|
||||
*/
|
||||
#include "libc/ctype.h"
|
||||
#include "third_party/ctags/general.h" /* must always come first */
|
||||
|
||||
#include "libc/mem/alg.h"
|
||||
|
|
1
third_party/ctags/sh.c
vendored
1
third_party/ctags/sh.c
vendored
|
@ -13,6 +13,7 @@
|
|||
/*
|
||||
* INCLUDE FILES
|
||||
*/
|
||||
#include "libc/ctype.h"
|
||||
#include "third_party/ctags/general.h" /* must always come first */
|
||||
|
||||
#include "libc/mem/alg.h"
|
||||
|
|
1
third_party/ctags/sml.c
vendored
1
third_party/ctags/sml.c
vendored
|
@ -12,6 +12,7 @@
|
|||
/*
|
||||
* INCLUDE FILES
|
||||
*/
|
||||
#include "libc/ctype.h"
|
||||
#include "third_party/ctags/general.h" /* must always come first */
|
||||
|
||||
#include "libc/mem/alg.h"
|
||||
|
|
1
third_party/ctags/tcl.c
vendored
1
third_party/ctags/tcl.c
vendored
|
@ -12,6 +12,7 @@
|
|||
/*
|
||||
* INCLUDE FILES
|
||||
*/
|
||||
#include "libc/ctype.h"
|
||||
#include "third_party/ctags/general.h" /* must always come first */
|
||||
|
||||
#include "libc/mem/alg.h"
|
||||
|
|
2
third_party/ctags/tex.c
vendored
2
third_party/ctags/tex.c
vendored
|
@ -18,6 +18,8 @@
|
|||
#include "third_party/ctags/general.h" /* must always come first */
|
||||
#include "libc/str/str.h" /* to define isalpha () */
|
||||
#include "libc/runtime/runtime.h"
|
||||
#include "libc/ctype.h"
|
||||
|
||||
#ifdef DEBUG
|
||||
#include "libc/calls/calls.h"
|
||||
#include "libc/stdio/dprintf.h"
|
||||
|
|
1
third_party/ctags/verilog.c
vendored
1
third_party/ctags/verilog.c
vendored
|
@ -19,6 +19,7 @@
|
|||
/*
|
||||
* INCLUDE FILES
|
||||
*/
|
||||
#include "libc/ctype.h"
|
||||
#include "third_party/ctags/general.h" /* must always come first */
|
||||
|
||||
#include "libc/mem/alg.h"
|
||||
|
|
1
third_party/ctags/vhdl.c
vendored
1
third_party/ctags/vhdl.c
vendored
|
@ -12,6 +12,7 @@
|
|||
/*
|
||||
* INCLUDE FILES
|
||||
*/
|
||||
#include "libc/ctype.h"
|
||||
#include "third_party/ctags/general.h" /* must always come first */
|
||||
|
||||
#include "libc/str/str.h" /* to define isalpha () */
|
||||
|
|
1
third_party/ctags/vim.c
vendored
1
third_party/ctags/vim.c
vendored
|
@ -15,6 +15,7 @@
|
|||
/*
|
||||
* INCLUDE FILES
|
||||
*/
|
||||
#include "libc/ctype.h"
|
||||
#include "third_party/ctags/general.h" /* must always come first */
|
||||
|
||||
#include "libc/mem/alg.h"
|
||||
|
|
1
third_party/ctags/vstring.c
vendored
1
third_party/ctags/vstring.c
vendored
|
@ -12,6 +12,7 @@
|
|||
/*
|
||||
* INCLUDE FILES
|
||||
*/
|
||||
#include "libc/ctype.h"
|
||||
#include "third_party/ctags/general.h" /* must always come first */
|
||||
|
||||
#include "libc/limits.h"
|
||||
|
|
1
third_party/finger/util.c
vendored
1
third_party/finger/util.c
vendored
|
@ -43,6 +43,7 @@
|
|||
#include "libc/stdio/stdio.h"
|
||||
#include "libc/str/str.h"
|
||||
#include "libc/sysv/consts/o.h"
|
||||
#include "libc/ctype.h"
|
||||
#include "third_party/finger/finger.h"
|
||||
|
||||
#ifndef lint
|
||||
|
|
1
third_party/hiredis/async.c
vendored
1
third_party/hiredis/async.c
vendored
|
@ -56,6 +56,7 @@
|
|||
#include "third_party/hiredis/async.h"
|
||||
#include "third_party/hiredis/net.h"
|
||||
#include "third_party/hiredis/dict.c"
|
||||
#include "libc/ctype.h"
|
||||
#include "third_party/hiredis/sds.h"
|
||||
|
||||
#include "third_party/hiredis/async_private.inc"
|
||||
|
|
1
third_party/hiredis/hiredis.c
vendored
1
third_party/hiredis/hiredis.c
vendored
|
@ -51,6 +51,7 @@
|
|||
#include "libc/assert.h"
|
||||
#include "libc/errno.h"
|
||||
#include "libc/mem/gc.h"
|
||||
#include "libc/ctype.h"
|
||||
#include "libc/str/str.h"
|
||||
|
||||
#include "third_party/hiredis/hiredis.h"
|
||||
|
|
1
third_party/hiredis/read.c
vendored
1
third_party/hiredis/read.c
vendored
|
@ -73,6 +73,7 @@
|
|||
#include "libc/sysv/consts/limits.h"
|
||||
#include "libc/sysv/consts/xopen.h"
|
||||
#include "libc/thread/thread.h"
|
||||
#include "libc/ctype.h"
|
||||
#include "libc/math.h"
|
||||
|
||||
#include "third_party/hiredis/alloc.h"
|
||||
|
|
1
third_party/hiredis/sds.c
vendored
1
third_party/hiredis/sds.c
vendored
|
@ -62,6 +62,7 @@
|
|||
#include "libc/sysv/consts/xopen.h"
|
||||
#include "libc/thread/thread.h"
|
||||
#include "third_party/hiredis/sds.h"
|
||||
#include "libc/ctype.h"
|
||||
#include "third_party/hiredis/sdsalloc.h"
|
||||
|
||||
#pragma GCC diagnostic ignored "-Wstringop-overflow"
|
||||
|
|
1
third_party/linenoise/linenoise.c
vendored
1
third_party/linenoise/linenoise.c
vendored
|
@ -168,6 +168,7 @@
|
|||
#include "libc/sysv/consts/termios.h"
|
||||
#include "libc/sysv/errfuns.h"
|
||||
#include "net/http/escape.h"
|
||||
#include "libc/wctype.h"
|
||||
#include "tool/build/lib/case.h"
|
||||
|
||||
__notice(linenoise_notice, "\
|
||||
|
|
1
third_party/lua/lbaselib.c
vendored
1
third_party/lua/lbaselib.c
vendored
|
@ -32,6 +32,7 @@
|
|||
#include "third_party/lua/lauxlib.h"
|
||||
#include "third_party/lua/lprefix.h"
|
||||
#include "third_party/lua/lua.h"
|
||||
#include "libc/ctype.h"
|
||||
#include "third_party/lua/lualib.h"
|
||||
__static_yoink("lua_notice");
|
||||
|
||||
|
|
1
third_party/lua/liolib.c
vendored
1
third_party/lua/liolib.c
vendored
|
@ -37,6 +37,7 @@
|
|||
#include "third_party/lua/lauxlib.h"
|
||||
#include "third_party/lua/lprefix.h"
|
||||
#include "third_party/lua/lua.h"
|
||||
#include "libc/ctype.h"
|
||||
#include "third_party/lua/lualib.h"
|
||||
__static_yoink("lua_notice");
|
||||
|
||||
|
|
1
third_party/lua/lstrlib.c
vendored
1
third_party/lua/lstrlib.c
vendored
|
@ -34,6 +34,7 @@
|
|||
#include "third_party/lua/lauxlib.h"
|
||||
#include "third_party/lua/lprefix.h"
|
||||
#include "third_party/lua/lua.h"
|
||||
#include "libc/ctype.h"
|
||||
#include "third_party/lua/lualib.h"
|
||||
__static_yoink("lua_notice");
|
||||
|
||||
|
|
1
third_party/lua/luac.main.c
vendored
1
third_party/lua/luac.main.c
vendored
|
@ -43,6 +43,7 @@
|
|||
#include "third_party/lua/lstate.h"
|
||||
#include "third_party/lua/lua.h"
|
||||
#include "third_party/lua/lualib.h"
|
||||
#include "libc/ctype.h"
|
||||
#include "third_party/lua/lundump.h"
|
||||
__static_yoink("lua_notice");
|
||||
|
||||
|
|
1
third_party/musl/crypt_sha256.c
vendored
1
third_party/musl/crypt_sha256.c
vendored
|
@ -39,6 +39,7 @@
|
|||
#include "libc/str/str.h"
|
||||
#include "libc/sysv/consts/exit.h"
|
||||
#include "third_party/gdtoa/gdtoa.h"
|
||||
#include "libc/ctype.h"
|
||||
#include "third_party/musl/crypt.internal.h"
|
||||
__static_yoink("musl_libc_notice");
|
||||
|
||||
|
|
1
third_party/musl/crypt_sha512.c
vendored
1
third_party/musl/crypt_sha512.c
vendored
|
@ -39,6 +39,7 @@
|
|||
#include "libc/str/str.h"
|
||||
#include "libc/sysv/consts/exit.h"
|
||||
#include "third_party/gdtoa/gdtoa.h"
|
||||
#include "libc/ctype.h"
|
||||
#include "third_party/musl/crypt.internal.h"
|
||||
__static_yoink("musl_libc_notice");
|
||||
|
||||
|
|
1
third_party/musl/fnmatch.c
vendored
1
third_party/musl/fnmatch.c
vendored
|
@ -27,6 +27,7 @@
|
|||
╚─────────────────────────────────────────────────────────────────────────────*/
|
||||
#include "libc/limits.h"
|
||||
#include "libc/str/str.h"
|
||||
#include "libc/wctype.h"
|
||||
#include "third_party/musl/fnmatch.h"
|
||||
__static_yoink("musl_libc_notice");
|
||||
|
||||
|
|
1
third_party/musl/getnameinfo.c
vendored
1
third_party/musl/getnameinfo.c
vendored
|
@ -36,6 +36,7 @@
|
|||
#include "libc/sysv/consts/af.h"
|
||||
#include "third_party/musl/lookup.internal.h"
|
||||
#include "third_party/musl/netdb.h"
|
||||
#include "libc/ctype.h"
|
||||
#include "third_party/musl/resolv.internal.h"
|
||||
__static_yoink("musl_libc_notice");
|
||||
|
||||
|
|
1
third_party/musl/lookup_ipliteral.c
vendored
1
third_party/musl/lookup_ipliteral.c
vendored
|
@ -31,6 +31,7 @@
|
|||
#include "libc/fmt/conv.h"
|
||||
#include "libc/limits.h"
|
||||
#include "libc/sock/sock.h"
|
||||
#include "libc/ctype.h"
|
||||
#include "third_party/musl/lookup.internal.h"
|
||||
__static_yoink("musl_libc_notice");
|
||||
|
||||
|
|
1
third_party/musl/lookup_name.c
vendored
1
third_party/musl/lookup_name.c
vendored
|
@ -39,6 +39,7 @@
|
|||
#include "libc/sysv/consts/sock.h"
|
||||
#include "third_party/musl/lookup.internal.h"
|
||||
#include "third_party/musl/netdb.h"
|
||||
#include "libc/ctype.h"
|
||||
#include "third_party/musl/resolv.internal.h"
|
||||
__static_yoink("musl_libc_notice");
|
||||
|
||||
|
|
1
third_party/musl/lookup_serv.c
vendored
1
third_party/musl/lookup_serv.c
vendored
|
@ -32,6 +32,7 @@
|
|||
#include "libc/stdio/internal.h"
|
||||
#include "libc/errno.h"
|
||||
#include "libc/calls/sysdir.internal.h"
|
||||
#include "libc/ctype.h"
|
||||
#include "third_party/musl/lookup.internal.h"
|
||||
__static_yoink("musl_libc_notice");
|
||||
|
||||
|
|
1
third_party/musl/resolvconf.c
vendored
1
third_party/musl/resolvconf.c
vendored
|
@ -37,6 +37,7 @@
|
|||
#include "libc/str/str.h"
|
||||
#include "libc/sysv/consts/af.h"
|
||||
#include "libc/sock/sock.h"
|
||||
#include "libc/ctype.h"
|
||||
#include "third_party/musl/lookup.internal.h"
|
||||
__static_yoink("musl_libc_notice");
|
||||
|
||||
|
|
1
third_party/musl/strfmon.c
vendored
1
third_party/musl/strfmon.c
vendored
|
@ -29,6 +29,7 @@
|
|||
#include "libc/stdio/stdio.h"
|
||||
#include "libc/str/locale.h"
|
||||
#include "libc/str/str.h"
|
||||
#include "libc/ctype.h"
|
||||
#include "libc/thread/tls.h"
|
||||
__static_yoink("musl_libc_notice");
|
||||
|
||||
|
|
1
third_party/musl/strptime.c
vendored
1
third_party/musl/strptime.c
vendored
|
@ -28,6 +28,7 @@
|
|||
#include "libc/fmt/conv.h"
|
||||
#include "libc/macros.internal.h"
|
||||
#include "libc/str/str.h"
|
||||
#include "libc/ctype.h"
|
||||
#include "libc/time.h"
|
||||
__static_yoink("musl_libc_notice");
|
||||
|
||||
|
|
1
third_party/ncurses/read_entry.c
vendored
1
third_party/ncurses/read_entry.c
vendored
|
@ -2853,6 +2853,7 @@ __static_yoink("usr/share/terminfo/z/ztx11");
|
|||
*/
|
||||
|
||||
#include "curses.priv.h"
|
||||
#include "libc/ctype.h"
|
||||
#include "hashed_db.h"
|
||||
|
||||
#include "tic.h"
|
||||
|
|
1
third_party/pcre/pcre2_compile.c
vendored
1
third_party/pcre/pcre2_compile.c
vendored
|
@ -1,3 +1,4 @@
|
|||
#include "libc/ctype.h"
|
||||
#include "libc/str/str.h"
|
||||
|
||||
/*************************************************
|
||||
|
|
1
third_party/pcre/pcre2_context.c
vendored
1
third_party/pcre/pcre2_context.c
vendored
|
@ -1,4 +1,5 @@
|
|||
#include "libc/mem/mem.h"
|
||||
#include "libc/ctype.h"
|
||||
#include "libc/str/str.h"
|
||||
|
||||
/*************************************************
|
||||
|
|
1
third_party/pcre/pcre2_convert.c
vendored
1
third_party/pcre/pcre2_convert.c
vendored
|
@ -1,3 +1,4 @@
|
|||
#include "libc/ctype.h"
|
||||
#include "libc/str/str.h"
|
||||
|
||||
/*************************************************
|
||||
|
|
1
third_party/pcre/pcre2_maketables.c
vendored
1
third_party/pcre/pcre2_maketables.c
vendored
|
@ -2,6 +2,7 @@
|
|||
* Perl-Compatible Regular Expressions *
|
||||
*************************************************/
|
||||
#include "libc/str/str.h"
|
||||
#include "libc/ctype.h"
|
||||
#include "libc/mem/mem.h"
|
||||
|
||||
/* PCRE is a library of functions to support regular expressions whose syntax
|
||||
|
|
|
@ -46,6 +46,7 @@
|
|||
#include "third_party/python/Include/tupleobject.h"
|
||||
#include "third_party/python/Include/yoink.h"
|
||||
#include "third_party/python/Modules/_decimal/docstrings.h"
|
||||
#include "libc/ctype.h"
|
||||
#include "third_party/python/Modules/_decimal/libmpdec/mpdecimal.h"
|
||||
|
||||
PYTHON_PROVIDE("_decimal");
|
||||
|
|
|
@ -34,6 +34,7 @@
|
|||
#include "third_party/python/Modules/_decimal/libmpdec/constants.h"
|
||||
#include "third_party/python/Modules/_decimal/libmpdec/io.h"
|
||||
#include "third_party/python/Modules/_decimal/libmpdec/mpdecimal.h"
|
||||
#include "libc/ctype.h"
|
||||
#include "third_party/python/Modules/_decimal/libmpdec/typearith.h"
|
||||
__static_yoink("libmpdec_notice");
|
||||
|
||||
|
|
1
third_party/python/Modules/_hashmbedtls.c
vendored
1
third_party/python/Modules/_hashmbedtls.c
vendored
|
@ -32,6 +32,7 @@
|
|||
#include "third_party/python/Include/pystrhex.h"
|
||||
#include "third_party/python/Include/structmember.h"
|
||||
#include "third_party/python/Include/yoink.h"
|
||||
#include "libc/ctype.h"
|
||||
#include "third_party/python/Modules/hashlib.h"
|
||||
|
||||
PYTHON_PROVIDE("_hashlib");
|
||||
|
|
1
third_party/python/Objects/bytesobject.c
vendored
1
third_party/python/Objects/bytesobject.c
vendored
|
@ -26,6 +26,7 @@
|
|||
#include "third_party/python/Include/pystrhex.h"
|
||||
#include "third_party/python/Include/pystrtod.h"
|
||||
#include "third_party/python/Include/sliceobject.h"
|
||||
#include "libc/ctype.h"
|
||||
#include "third_party/python/Include/warnings.h"
|
||||
|
||||
/*[clinic input]
|
||||
|
|
1
third_party/python/Parser/grammar.c
vendored
1
third_party/python/Parser/grammar.c
vendored
|
@ -9,6 +9,7 @@
|
|||
#include "third_party/python/Include/objimpl.h"
|
||||
#include "third_party/python/Include/pgenheaders.h"
|
||||
#include "third_party/python/Include/pyerrors.h"
|
||||
#include "libc/ctype.h"
|
||||
#include "third_party/python/Include/token.h"
|
||||
|
||||
extern int Py_DebugFlag;
|
||||
|
|
1
third_party/python/Parser/tokenizer.c
vendored
1
third_party/python/Parser/tokenizer.c
vendored
|
@ -23,6 +23,7 @@
|
|||
#include "third_party/python/Include/pymacro.h"
|
||||
#include "third_party/python/Include/pymem.h"
|
||||
#include "third_party/python/Include/sysmodule.h"
|
||||
#include "libc/ctype.h"
|
||||
#include "third_party/python/Include/unicodeobject.h"
|
||||
#endif
|
||||
|
||||
|
|
1
third_party/python/runpythonmodule.c
vendored
1
third_party/python/runpythonmodule.c
vendored
|
@ -49,6 +49,7 @@
|
|||
#include "third_party/python/Include/unicodeobject.h"
|
||||
#include "third_party/python/Include/yoink.h"
|
||||
#include "libc/runtime/stack.h"
|
||||
#include "libc/ctype.h"
|
||||
#include "third_party/xed/x86.h"
|
||||
|
||||
STATIC_STACK_SIZE(0x100000);
|
||||
|
|
1
third_party/regex/regcomp.c
vendored
1
third_party/regex/regcomp.c
vendored
|
@ -57,6 +57,7 @@
|
|||
│ │
|
||||
╚─────────────────────────────────────────────────────────────────────────────*/
|
||||
#include "libc/mem/alg.h"
|
||||
#include "libc/ctype.h"
|
||||
#include "third_party/regex/tre.inc"
|
||||
|
||||
#define CHARCLASS_NAME_MAX 14
|
||||
|
|
1
third_party/regex/tre.inc
vendored
1
third_party/regex/tre.inc
vendored
|
@ -60,6 +60,7 @@
|
|||
#include "libc/mem/alg.h"
|
||||
#include "libc/mem/mem.h"
|
||||
#include "libc/str/str.h"
|
||||
#include "libc/wctype.h"
|
||||
#include "third_party/regex/regex.h"
|
||||
|
||||
#undef TRE_MBSTATE
|
||||
|
|
1
third_party/sed/compile.c
vendored
1
third_party/sed/compile.c
vendored
|
@ -47,6 +47,7 @@
|
|||
#include "libc/sysv/consts/s.h"
|
||||
#include "libc/sysv/consts/utime.h"
|
||||
#include "libc/mem/gc.h"
|
||||
#include "libc/ctype.h"
|
||||
#include "libc/time.h"
|
||||
|
||||
#include "libc/str/str.h"
|
||||
|
|
2
third_party/sed/process.c
vendored
2
third_party/sed/process.c
vendored
|
@ -47,6 +47,8 @@
|
|||
#include "libc/sysv/consts/s.h"
|
||||
#include "libc/sysv/consts/termios.h"
|
||||
#include "third_party/sed/defs.h"
|
||||
#include "libc/wctype.h"
|
||||
#include "libc/ctype.h"
|
||||
#include "third_party/sed/extern.h"
|
||||
|
||||
static SPACE HS, PS, SS, YS;
|
||||
|
|
1
third_party/sqlite3/completion.c
vendored
1
third_party/sqlite3/completion.c
vendored
|
@ -35,6 +35,7 @@
|
|||
*/
|
||||
#include "libc/assert.h"
|
||||
#include "libc/str/str.h"
|
||||
#include "libc/ctype.h"
|
||||
#include "third_party/sqlite3/sqlite3ext.h"
|
||||
|
||||
SQLITE_EXTENSION_INIT1
|
||||
|
|
1
third_party/sqlite3/decimal.c
vendored
1
third_party/sqlite3/decimal.c
vendored
|
@ -17,6 +17,7 @@
|
|||
#include "libc/assert.h"
|
||||
#include "libc/mem/mem.h"
|
||||
#include "libc/str/str.h"
|
||||
#include "libc/ctype.h"
|
||||
#include "third_party/sqlite3/sqlite3ext.h"
|
||||
|
||||
SQLITE_EXTENSION_INIT1
|
||||
|
|
1
third_party/sqlite3/geopoly.inc
vendored
1
third_party/sqlite3/geopoly.inc
vendored
|
@ -16,6 +16,7 @@
|
|||
** This file is #include-ed onto the end of "rtree.c" so that it has
|
||||
** access to all of the R-Tree internals.
|
||||
*/
|
||||
#include "libc/ctype.h"
|
||||
#include "libc/fmt/conv.h"
|
||||
|
||||
/* Enable -DGEOPOLY_ENABLE_DEBUG for debugging facilities */
|
||||
|
|
1
third_party/sqlite3/shell.c
vendored
1
third_party/sqlite3/shell.c
vendored
|
@ -30,6 +30,7 @@
|
|||
** This file contains code to implement the "sqlite" command line
|
||||
** utility for accessing SQLite databases.
|
||||
*/
|
||||
#include "libc/ctype.h"
|
||||
#include "libc/dce.h"
|
||||
#if (defined(_WIN32) || defined(WIN32)) && !defined(_CRT_SECURE_NO_WARNINGS)
|
||||
/* This needs to come before any includes for MSVC compiler */
|
||||
|
|
1
third_party/sqlite3/uint.c
vendored
1
third_party/sqlite3/uint.c
vendored
|
@ -29,6 +29,7 @@
|
|||
*/
|
||||
#include "libc/assert.h"
|
||||
#include "libc/str/str.h"
|
||||
#include "libc/ctype.h"
|
||||
#include "third_party/sqlite3/sqlite3ext.h"
|
||||
|
||||
SQLITE_EXTENSION_INIT1
|
||||
|
|
1
third_party/tidy/attrs.c
vendored
1
third_party/tidy/attrs.c
vendored
|
@ -10,6 +10,7 @@
|
|||
#include "third_party/tidy/message.h"
|
||||
#include "third_party/tidy/tmbstr.h"
|
||||
#include "libc/assert.h"
|
||||
#include "libc/ctype.h"
|
||||
#include "third_party/tidy/utf8.h"
|
||||
|
||||
#if __GNUC__ >= 11 /* [jart] this one looks legit */
|
||||
|
|
1
third_party/tidy/language.c
vendored
1
third_party/tidy/language.c
vendored
|
@ -7,6 +7,7 @@
|
|||
|
||||
#include "third_party/tidy/language.h"
|
||||
#include "third_party/tidy/tmbstr.h"
|
||||
#include "libc/ctype.h"
|
||||
#include "libc/assert.h"
|
||||
|
||||
#include "third_party/tidy/language_en.inc"
|
||||
|
|
1
third_party/tidy/pprint.c
vendored
1
third_party/tidy/pprint.c
vendored
|
@ -14,6 +14,7 @@
|
|||
#include "third_party/tidy/tmbstr.h"
|
||||
#include "third_party/tidy/utf8.h"
|
||||
#include "libc/assert.h"
|
||||
#include "libc/ctype.h"
|
||||
#include "third_party/tidy/sprtf.h"
|
||||
|
||||
|
||||
|
|
1
third_party/tr/next.c
vendored
1
third_party/tr/next.c
vendored
|
@ -35,6 +35,7 @@
|
|||
#include "libc/mem/alg.h"
|
||||
#include "libc/mem/mem.h"
|
||||
#include "libc/str/str.h"
|
||||
#include "libc/ctype.h"
|
||||
#include "third_party/tr/extern.h"
|
||||
|
||||
static int backslash(STR *);
|
||||
|
|
1
third_party/tree/html.c
vendored
1
third_party/tree/html.c
vendored
|
@ -15,6 +15,7 @@
|
|||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
#include "libc/ctype.h"
|
||||
#include "third_party/tree/tree.h"
|
||||
|
||||
extern char *version, *hversion;
|
||||
|
|
1
third_party/tree/json.c
vendored
1
third_party/tree/json.c
vendored
|
@ -16,6 +16,7 @@
|
|||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
#include "libc/sysv/consts/s.h"
|
||||
#include "libc/ctype.h"
|
||||
#include "third_party/tree/tree.h"
|
||||
|
||||
extern bool dflag, lflag, pflag, sflag, Fflag, aflag, fflag, uflag, gflag;
|
||||
|
|
2
third_party/tree/tree.c
vendored
2
third_party/tree/tree.c
vendored
|
@ -29,6 +29,8 @@
|
|||
#include "libc/calls/struct/stat.macros.h"
|
||||
#include "libc/calls/struct/dirent.h"
|
||||
#include "libc/mem/alg.h"
|
||||
#include "libc/ctype.h"
|
||||
#include "libc/wctype.h"
|
||||
#include "third_party/tree/tree.h"
|
||||
|
||||
char *version = "$Version: $ tree v2.1.1 %s 1996 - 2023 by Steve Baker, Thomas Moore, Francesc Rocher, Florian Sesser, Kyosuke Tokoro $";
|
||||
|
|
1
third_party/zlib/trees.c
vendored
1
third_party/zlib/trees.c
vendored
|
@ -10,6 +10,7 @@
|
|||
#include "libc/stdio/stdio.h"
|
||||
#include "libc/temp.h"
|
||||
#include "libc/str/str.h"
|
||||
#include "libc/ctype.h"
|
||||
#include "third_party/zlib/deflate.internal.h"
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue