mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-28 15:28:30 +00:00
Reduce makefile dependencies by 10%
The includes in libc/calls/calls.h have now been refactored so that functions with struct parameters are declared in libc/calls/struct/
This commit is contained in:
parent
4e7ce1538c
commit
adac64a52b
202 changed files with 372 additions and 319 deletions
2
third_party/sqlite3/os_unix.c
vendored
2
third_party/sqlite3/os_unix.c
vendored
|
@ -46,6 +46,8 @@
|
|||
*/
|
||||
#include "libc/rand/rand.h"
|
||||
#include "libc/sysv/consts/lock.h"
|
||||
#include "libc/calls/struct/stat.h"
|
||||
#include "libc/sysv/consts/s.h"
|
||||
#include "third_party/sqlite3/sqliteInt.inc"
|
||||
#if SQLITE_OS_UNIX /* This file is used on unix only */
|
||||
|
||||
|
|
6
third_party/sqlite3/shell.c
vendored
6
third_party/sqlite3/shell.c
vendored
|
@ -94,6 +94,10 @@
|
|||
#include "libc/calls/struct/stat.macros.h"
|
||||
#include "tool/args/args.h"
|
||||
#include "tool/args/args.h"
|
||||
#include "libc/calls/struct/rusage.h"
|
||||
#include "libc/sysv/consts/rusage.h"
|
||||
#include "libc/calls/struct/stat.h"
|
||||
#include "libc/sysv/consts/s.h"
|
||||
#include "third_party/sqlite3/sqlite3.h"
|
||||
|
||||
typedef sqlite3_int64 i64;
|
||||
|
@ -105,7 +109,6 @@ typedef unsigned char u8;
|
|||
#include "libc/str/str.h"
|
||||
|
||||
#if !defined(_WIN32) && !defined(WIN32)
|
||||
#include "libc/calls/sigbits.h"
|
||||
#if !defined(__RTP__) && !defined(_WRS_KERNEL)
|
||||
#include "third_party/musl/passwd.h"
|
||||
#endif
|
||||
|
@ -1795,7 +1798,6 @@ SQLITE_EXTENSION_INIT1
|
|||
#include "libc/calls/weirdtypes.h"
|
||||
#include "libc/stdio/stdio.h"
|
||||
#include "libc/str/str.h"
|
||||
#include "libc/calls/sigbits.h"
|
||||
#include "libc/isystem/unistd.h"
|
||||
#include "libc/time/time.h"
|
||||
#include "libc/errno.h"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue