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:
Justine Tunney 2022-06-08 20:01:28 -07:00
parent 4e7ce1538c
commit adac64a52b
202 changed files with 372 additions and 319 deletions

View file

@ -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 */

View file

@ -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"