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
3
third_party/python/Modules/tokenbucket.c
vendored
3
third_party/python/Modules/tokenbucket.c
vendored
|
@ -23,7 +23,6 @@
|
|||
#include "libc/calls/struct/sigaction.h"
|
||||
#include "libc/calls/struct/timespec.h"
|
||||
#include "libc/errno.h"
|
||||
#include "libc/intrin/bits.h"
|
||||
#include "libc/limits.h"
|
||||
#include "libc/macros.internal.h"
|
||||
#include "libc/runtime/runtime.h"
|
||||
|
@ -45,8 +44,8 @@
|
|||
#include "third_party/python/Include/object.h"
|
||||
#include "third_party/python/Include/pyerrors.h"
|
||||
#include "third_party/python/Include/pymacro.h"
|
||||
#include "libc/serialize.h"
|
||||
#include "third_party/python/Include/yoink.h"
|
||||
// clang-format off
|
||||
|
||||
PYTHON_PROVIDE("tokenbucket");
|
||||
PYTHON_PROVIDE("tokenbucket.acquire");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue