mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-03 17:58:30 +00:00
Introduce #include <cosmo.h>
to toolchain users
This change improves the way internal APIs are being hidden behind the `COSMO` define. The cosmo.h header will take care of defining that, so that a separate define statement isn't needed. This change also does a lot more to define which APIs are standard, and which belong to Cosmo.
This commit is contained in:
parent
9b55dbe417
commit
4a59210008
115 changed files with 699 additions and 422 deletions
2
third_party/make/function.c
vendored
2
third_party/make/function.c
vendored
|
@ -24,7 +24,7 @@ this program. If not, see <http://www.gnu.org/licenses/>. */
|
|||
#include "third_party/make/os.h"
|
||||
#include "third_party/make/commands.h"
|
||||
#include "libc/mem/critbit0.h"
|
||||
#include "libc/log/rop.h"
|
||||
#include "libc/log/rop.internal.h"
|
||||
#include "libc/runtime/runtime.h"
|
||||
#include "third_party/make/debug.h"
|
||||
|
||||
|
|
8
third_party/make/job.c
vendored
8
third_party/make/job.c
vendored
|
@ -24,9 +24,9 @@ this program. If not, see <http://www.gnu.org/licenses/>. */
|
|||
#include "libc/calls/calls.h"
|
||||
#include "libc/calls/pledge.h"
|
||||
#include "libc/calls/pledge.internal.h"
|
||||
#include "libc/calls/struct/bpf.h"
|
||||
#include "libc/calls/struct/filter.h"
|
||||
#include "libc/calls/struct/seccomp.h"
|
||||
#include "libc/calls/struct/bpf.internal.h"
|
||||
#include "libc/calls/struct/filter.internal.h"
|
||||
#include "libc/calls/struct/seccomp.internal.h"
|
||||
#include "libc/calls/struct/sysinfo.h"
|
||||
#include "libc/calls/struct/timeval.h"
|
||||
#include "libc/dce.h"
|
||||
|
@ -42,7 +42,7 @@ this program. If not, see <http://www.gnu.org/licenses/>. */
|
|||
#include "libc/intrin/safemacros.internal.h"
|
||||
#include "libc/log/backtrace.internal.h"
|
||||
#include "libc/log/log.h"
|
||||
#include "libc/log/rop.h"
|
||||
#include "libc/log/rop.internal.h"
|
||||
#include "libc/macros.internal.h"
|
||||
#include "libc/nexgen32e/kcpuids.h"
|
||||
#include "libc/runtime/runtime.h"
|
||||
|
|
6
third_party/make/main.c
vendored
6
third_party/make/main.c
vendored
|
@ -28,9 +28,9 @@ this program. If not, see <http://www.gnu.org/licenses/>. */
|
|||
#include "third_party/make/rule.h"
|
||||
/**/
|
||||
#include "libc/calls/calls.h"
|
||||
#include "libc/calls/struct/bpf.h"
|
||||
#include "libc/calls/struct/filter.h"
|
||||
#include "libc/calls/struct/seccomp.h"
|
||||
#include "libc/calls/struct/bpf.internal.h"
|
||||
#include "libc/calls/struct/filter.internal.h"
|
||||
#include "libc/calls/struct/seccomp.internal.h"
|
||||
#include "libc/calls/syscall_support-sysv.internal.h"
|
||||
#include "libc/dce.h"
|
||||
#include "libc/limits.h"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue