mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-23 22:02:27 +00:00
Reduce header complexity
- Remove most __ASSEMBLER__ __LINKER__ ifdefs - Rename libc/intrin/bits.h to libc/serialize.h - Block pthread cancelation in fchmodat() polyfill - Remove `clang-format off` statements in third_party
This commit is contained in:
parent
96f979dfc5
commit
fa20edc44d
3057 changed files with 410 additions and 4398 deletions
|
@ -53,7 +53,6 @@ void m(const char *s, void *p, size_t n) {
|
|||
q = Deflate(p, n, &m);
|
||||
f = fopen(xstrcat("third_party/python/Modules/cjkcodecs/", s, ".c"), "wb");
|
||||
fprintf(f, "#include \"libc/x/x.h\"\n");
|
||||
fprintf(f, "/* clang-format off */\n");
|
||||
fprintf(f, "\n");
|
||||
fprintf(f, "static _Atomic(void *) %s_ptr;\n", s);
|
||||
fprintf(f, "static const unsigned char %s_rodata[] = {", s);
|
||||
|
@ -94,7 +93,6 @@ void dzd(const char *s, void *p, size_t n, size_t z) {
|
|||
q = Deflate(r, appendz(r).i, &m);
|
||||
f = fopen(xstrcat("third_party/python/Modules/cjkcodecs/", s, ".c"), "wb");
|
||||
fprintf(f, "#include \"libc/x/x.h\"\n");
|
||||
fprintf(f, "/* clang-format off */\n");
|
||||
fprintf(f, "\n");
|
||||
fprintf(f, "static _Atomic(void *) %s_ptr;\n", s);
|
||||
fprintf(f, "static const unsigned char %s_rodata[%zu] = {", s, m);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue