mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-08-08 10:50:28 +00:00
Update includes to use .inc extension
These dependencies can't be individually compiled as .h files
This commit is contained in:
parent
f4e6b93bd2
commit
87852b2214
31 changed files with 26 additions and 26 deletions
2
third_party/sqlite3/func.c
vendored
2
third_party/sqlite3/func.c
vendored
|
@ -19,7 +19,7 @@
|
|||
#ifndef SQLITE_OMIT_FLOATING_POINT
|
||||
#include "libc/math.h"
|
||||
#endif
|
||||
#include "third_party/sqlite3/vdbeInt.h"
|
||||
#include "third_party/sqlite3/vdbeInt.inc"
|
||||
/* clang-format off */
|
||||
|
||||
/*
|
||||
|
|
2
third_party/sqlite3/os_common.h
vendored
2
third_party/sqlite3/os_common.h
vendored
|
@ -39,7 +39,7 @@
|
|||
** hwtime.h contains inline assembler code for implementing
|
||||
** high-performance timing routines.
|
||||
*/
|
||||
#include "third_party/sqlite3/hwtime.h"
|
||||
#include "third_party/sqlite3/hwtime.inc"
|
||||
|
||||
static sqlite_uint64 g_start;
|
||||
static sqlite_uint64 g_elapsed;
|
||||
|
|
2
third_party/sqlite3/pragma.c
vendored
2
third_party/sqlite3/pragma.c
vendored
|
@ -28,7 +28,7 @@
|
|||
** lexicographical order to facility a binary search of the pragma name.
|
||||
** Do not edit pragma.h directly. Edit and rerun the script in at
|
||||
** ../tool/mkpragmatab.tcl. */
|
||||
#include "third_party/sqlite3/pragma.h"
|
||||
#include "third_party/sqlite3/pragma.inc"
|
||||
|
||||
/*
|
||||
** Interpret the given string as a safety level. Return 0 for OFF,
|
||||
|
|
2
third_party/sqlite3/sqlite3session.c
vendored
2
third_party/sqlite3/sqlite3session.c
vendored
|
@ -11,7 +11,7 @@
|
|||
|
||||
#ifndef SQLITE_AMALGAMATION
|
||||
# include "third_party/sqlite3/sqliteInt.h"
|
||||
# include "third_party/sqlite3/vdbeInt.h"
|
||||
# include "third_party/sqlite3/vdbeInt.inc"
|
||||
#endif
|
||||
|
||||
typedef struct SessionTable SessionTable;
|
||||
|
|
12
third_party/sqlite3/sqliteInt.h
vendored
12
third_party/sqlite3/sqliteInt.h
vendored
|
@ -1269,12 +1269,12 @@ typedef int VList;
|
|||
** "BusyHandler" typedefs. vdbe.h also requires a few of the opaque
|
||||
** pointer types (i.e. FuncDef) defined above.
|
||||
*/
|
||||
#include "third_party/sqlite3/os.h"
|
||||
#include "third_party/sqlite3/pager.h"
|
||||
#include "third_party/sqlite3/btree.h"
|
||||
#include "third_party/sqlite3/vdbe.h"
|
||||
#include "third_party/sqlite3/pcache.h"
|
||||
#include "third_party/sqlite3/mutex.h"
|
||||
#include "third_party/sqlite3/os.inc"
|
||||
#include "third_party/sqlite3/pager.inc"
|
||||
#include "third_party/sqlite3/btree.inc"
|
||||
#include "third_party/sqlite3/vdbe.inc"
|
||||
#include "third_party/sqlite3/pcache.inc"
|
||||
#include "third_party/sqlite3/mutex.inc"
|
||||
|
||||
/* The SQLITE_EXTRA_DURABLE compile-time option used to set the default
|
||||
** synchronous setting to EXTRA. It is no longer supported.
|
||||
|
|
2
third_party/sqlite3/status.c
vendored
2
third_party/sqlite3/status.c
vendored
|
@ -14,7 +14,7 @@
|
|||
** functionality.
|
||||
*/
|
||||
#include "third_party/sqlite3/sqliteInt.h"
|
||||
#include "third_party/sqlite3/vdbeInt.h"
|
||||
#include "third_party/sqlite3/vdbeInt.inc"
|
||||
|
||||
/*
|
||||
** Variables in which to record status information.
|
||||
|
|
2
third_party/sqlite3/tokenize.c
vendored
2
third_party/sqlite3/tokenize.c
vendored
|
@ -145,7 +145,7 @@ const unsigned char ebcdicToAscii[] = {
|
|||
** named keywordhash.h and then included into this source file by
|
||||
** the #include below.
|
||||
*/
|
||||
#include "third_party/sqlite3/keywordhash.h"
|
||||
#include "third_party/sqlite3/keywordhash.inc"
|
||||
|
||||
/*
|
||||
** If X is a character that can be used in an identifier then
|
||||
|
|
2
third_party/sqlite3/utf.c
vendored
2
third_party/sqlite3/utf.c
vendored
|
@ -35,7 +35,7 @@
|
|||
*/
|
||||
#include "third_party/sqlite3/sqliteInt.h"
|
||||
#include "libc/assert.h"
|
||||
#include "third_party/sqlite3/vdbeInt.h"
|
||||
#include "third_party/sqlite3/vdbeInt.inc"
|
||||
|
||||
#if !defined(SQLITE_AMALGAMATION) && SQLITE_BYTEORDER==0
|
||||
/*
|
||||
|
|
2
third_party/sqlite3/vacuum.c
vendored
2
third_party/sqlite3/vacuum.c
vendored
|
@ -15,7 +15,7 @@
|
|||
** SQLITE_OMIT_VACUUM macro.
|
||||
*/
|
||||
#include "third_party/sqlite3/sqliteInt.h"
|
||||
#include "third_party/sqlite3/vdbeInt.h"
|
||||
#include "third_party/sqlite3/vdbeInt.inc"
|
||||
|
||||
#if !defined(SQLITE_OMIT_VACUUM) && !defined(SQLITE_OMIT_ATTACH)
|
||||
|
||||
|
|
4
third_party/sqlite3/vdbe.c
vendored
4
third_party/sqlite3/vdbe.c
vendored
|
@ -19,7 +19,7 @@
|
|||
** commenting and indentation practices when changing or adding code.
|
||||
*/
|
||||
#include "third_party/sqlite3/sqliteInt.h"
|
||||
#include "third_party/sqlite3/vdbeInt.h"
|
||||
#include "third_party/sqlite3/vdbeInt.inc"
|
||||
|
||||
/*
|
||||
** Invoke this macro on memory cells just prior to changing the
|
||||
|
@ -624,7 +624,7 @@ void sqlite3VdbeRegisterDump(Vdbe *v){
|
|||
** hwtime.h contains inline assembler code for implementing
|
||||
** high-performance timing routines.
|
||||
*/
|
||||
#include "third_party/sqlite3/hwtime.h"
|
||||
#include "third_party/sqlite3/hwtime.inc"
|
||||
|
||||
#endif
|
||||
|
||||
|
|
2
third_party/sqlite3/vdbeapi.c
vendored
2
third_party/sqlite3/vdbeapi.c
vendored
|
@ -14,7 +14,7 @@
|
|||
** VDBE.
|
||||
*/
|
||||
#include "third_party/sqlite3/sqliteInt.h"
|
||||
#include "third_party/sqlite3/vdbeInt.h"
|
||||
#include "third_party/sqlite3/vdbeInt.inc"
|
||||
|
||||
#ifndef SQLITE_OMIT_DEPRECATED
|
||||
/*
|
||||
|
|
2
third_party/sqlite3/vdbeaux.c
vendored
2
third_party/sqlite3/vdbeaux.c
vendored
|
@ -13,7 +13,7 @@
|
|||
** a VDBE (or an "sqlite3_stmt" as it is known to the outside world.)
|
||||
*/
|
||||
#include "third_party/sqlite3/sqliteInt.h"
|
||||
#include "third_party/sqlite3/vdbeInt.h"
|
||||
#include "third_party/sqlite3/vdbeInt.inc"
|
||||
|
||||
/* Forward references */
|
||||
static void freeEphemeralFunction(sqlite3 *db, FuncDef *pDef);
|
||||
|
|
2
third_party/sqlite3/vdbeblob.c
vendored
2
third_party/sqlite3/vdbeblob.c
vendored
|
@ -14,7 +14,7 @@
|
|||
*/
|
||||
|
||||
#include "third_party/sqlite3/sqliteInt.h"
|
||||
#include "third_party/sqlite3/vdbeInt.h"
|
||||
#include "third_party/sqlite3/vdbeInt.inc"
|
||||
|
||||
#ifndef SQLITE_OMIT_INCRBLOB
|
||||
|
||||
|
|
2
third_party/sqlite3/vdbemem.c
vendored
2
third_party/sqlite3/vdbemem.c
vendored
|
@ -16,7 +16,7 @@
|
|||
** name sqlite_value
|
||||
*/
|
||||
#include "third_party/sqlite3/sqliteInt.h"
|
||||
#include "third_party/sqlite3/vdbeInt.h"
|
||||
#include "third_party/sqlite3/vdbeInt.inc"
|
||||
|
||||
/* True if X is a power of two. 0 is considered a power of two here.
|
||||
** In other words, return true if X has at most one bit set.
|
||||
|
|
2
third_party/sqlite3/vdbesort.c
vendored
2
third_party/sqlite3/vdbesort.c
vendored
|
@ -136,7 +136,7 @@
|
|||
** the main thread to read from.
|
||||
*/
|
||||
#include "third_party/sqlite3/sqliteInt.h"
|
||||
#include "third_party/sqlite3/vdbeInt.h"
|
||||
#include "third_party/sqlite3/vdbeInt.inc"
|
||||
|
||||
/*
|
||||
** If SQLITE_DEBUG_SORTER_THREADS is defined, this module outputs various
|
||||
|
|
2
third_party/sqlite3/vdbetrace.c
vendored
2
third_party/sqlite3/vdbetrace.c
vendored
|
@ -16,7 +16,7 @@
|
|||
** The Vdbe parse-tree explainer is also found here.
|
||||
*/
|
||||
#include "third_party/sqlite3/sqliteInt.h"
|
||||
#include "third_party/sqlite3/vdbeInt.h"
|
||||
#include "third_party/sqlite3/vdbeInt.inc"
|
||||
|
||||
#ifndef SQLITE_OMIT_TRACE
|
||||
|
||||
|
|
2
third_party/sqlite3/vdbevtab.c
vendored
2
third_party/sqlite3/vdbevtab.c
vendored
|
@ -15,7 +15,7 @@
|
|||
*/
|
||||
#include "third_party/sqlite3/sqliteInt.h"
|
||||
#if defined(SQLITE_ENABLE_BYTECODE_VTAB) && !defined(SQLITE_OMIT_VIRTUALTABLE)
|
||||
#include "third_party/sqlite3/vdbeInt.h"
|
||||
#include "third_party/sqlite3/vdbeInt.inc"
|
||||
|
||||
/* An instance of the bytecode() table-valued function.
|
||||
*/
|
||||
|
|
2
third_party/sqlite3/where.c
vendored
2
third_party/sqlite3/where.c
vendored
|
@ -17,7 +17,7 @@
|
|||
** indices, you might also think of this module as the "query optimizer".
|
||||
*/
|
||||
#include "third_party/sqlite3/sqliteInt.h"
|
||||
#include "third_party/sqlite3/whereInt.h"
|
||||
#include "third_party/sqlite3/whereInt.inc"
|
||||
|
||||
#if __GNUC__ >= 11
|
||||
#pragma GCC diagnostic ignored "-Wmisleading-indentation"
|
||||
|
|
2
third_party/sqlite3/wherecode.c
vendored
2
third_party/sqlite3/wherecode.c
vendored
|
@ -18,7 +18,7 @@
|
|||
** file retains the code that does query planning and analysis.
|
||||
*/
|
||||
#include "third_party/sqlite3/sqliteInt.h"
|
||||
#include "third_party/sqlite3/whereInt.h"
|
||||
#include "third_party/sqlite3/whereInt.inc"
|
||||
|
||||
#ifndef SQLITE_OMIT_EXPLAIN
|
||||
|
||||
|
|
2
third_party/sqlite3/whereexpr.c
vendored
2
third_party/sqlite3/whereexpr.c
vendored
|
@ -17,7 +17,7 @@
|
|||
** analyzing Expr objects in the WHERE clause.
|
||||
*/
|
||||
#include "third_party/sqlite3/sqliteInt.h"
|
||||
#include "third_party/sqlite3/whereInt.h"
|
||||
#include "third_party/sqlite3/whereInt.inc"
|
||||
|
||||
/* Forward declarations */
|
||||
static void exprAnalyze(SrcList*, WhereClause*, int);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue