Some include-what-you-use progress.

git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4462 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
Cory McWilliams 2023-09-13 23:39:52 +00:00
parent 191b45f054
commit b23b0ca239
14 changed files with 2 additions and 29 deletions

View File

@ -7,7 +7,6 @@
#include "sqlite3.h" #include "sqlite3.h"
#include <assert.h>
#include <stdbool.h> #include <stdbool.h>
#include <string.h> #include <string.h>

View File

@ -13,9 +13,6 @@
#ifdef _WIN32 #ifdef _WIN32
#include <windows.h> #include <windows.h>
#else
#include <dirent.h>
#include <unistd.h>
#endif #endif
static JSValue _file_read_file(JSContext* context, JSValueConst this_val, int argc, JSValueConst* argv); static JSValue _file_read_file(JSContext* context, JSValueConst this_val, int argc, JSValueConst* argv);

View File

@ -1,17 +1,15 @@
#include "log.h" #include "log.h"
#include "mem.h" #include "mem.h"
#include "ssb.h"
#include "ssb.db.h" #include "ssb.db.h"
#include "ssb.import.h"
#include "ssb.import.h"
#include "ssb.export.h" #include "ssb.export.h"
#include "ssb.h"
#include "ssb.import.h"
#include "task.h" #include "task.h"
#include "taskstub.js.h" #include "taskstub.js.h"
#include "tests.h" #include "tests.h"
#include "util.js.h" #include "util.js.h"
#include "backtrace.h" #include "backtrace.h"
#include "quickjs.h"
#include "sqlite3.h" #include "sqlite3.h"
#include "xopt.h" #include "xopt.h"

View File

@ -8,7 +8,6 @@
#include "uv.h" #include "uv.h"
#include <assert.h>
#include <string.h> #include <string.h>
typedef int promiseid_t; typedef int promiseid_t;

View File

@ -26,13 +26,6 @@
#include <string.h> #include <string.h>
#include <time.h> #include <time.h>
#ifndef _WIN32
#ifndef __ANDROID__
#include <execinfo.h>
#endif
#include <unistd.h>
#endif
#if !defined(_countof) #if !defined(_countof)
#define _countof(a) ((int)(sizeof((a)) / sizeof(*(a)))) #define _countof(a) ((int)(sizeof((a)) / sizeof(*(a))))
#endif #endif

View File

@ -7,9 +7,6 @@
#include "util.js.h" #include "util.js.h"
#include "sodium/crypto_hash_sha256.h" #include "sodium/crypto_hash_sha256.h"
#include "sodium/crypto_scalarmult.h"
#include "sodium/crypto_scalarmult_curve25519.h"
#include "sodium/crypto_secretbox.h"
#include "sodium/crypto_sign.h" #include "sodium/crypto_sign.h"
#include "sqlite3.h" #include "sqlite3.h"
#include "uv.h" #include "uv.h"

View File

@ -1,6 +1,5 @@
#include "ssb.js.h" #include "ssb.js.h"
#include "database.js.h"
#include "log.h" #include "log.h"
#include "mem.h" #include "mem.h"
#include "ssb.db.h" #include "ssb.db.h"
@ -8,7 +7,6 @@
#include "trace.h" #include "trace.h"
#include "util.js.h" #include "util.js.h"
#include "sodium/crypto_hash_sha256.h"
#include "sodium/crypto_box.h" #include "sodium/crypto_box.h"
#include "sodium/crypto_scalarmult.h" #include "sodium/crypto_scalarmult.h"
#include "sodium/crypto_scalarmult_curve25519.h" #include "sodium/crypto_scalarmult_curve25519.h"

View File

@ -8,7 +8,6 @@
#include "trace.h" #include "trace.h"
#include "util.js.h" #include "util.js.h"
#include "sqlite3.h"
#include "uv.h" #include "uv.h"
#include <assert.h> #include <assert.h>

View File

@ -33,7 +33,6 @@
#include <malloc.h> #include <malloc.h>
#include <string.h> #include <string.h>
#include <stdio.h> #include <stdio.h>
#include <sys/types.h>
#if !defined(_countof) #if !defined(_countof)
#define _countof(a) ((int)(sizeof((a)) / sizeof(*(a)))) #define _countof(a) ((int)(sizeof((a)) / sizeof(*(a))))

View File

@ -4,7 +4,6 @@
#include "quickjs.h" #include "quickjs.h"
struct uv_loop_s;
typedef struct uv_loop_s uv_loop_t; typedef struct uv_loop_s uv_loop_t;
typedef struct uv_timer_s uv_timer_t; typedef struct uv_timer_s uv_timer_t;

View File

@ -2,14 +2,12 @@
#include "mem.h" #include "mem.h"
#include <ctype.h>
#include <string.h> #include <string.h>
#include <openssl/bio.h> #include <openssl/bio.h>
#include <openssl/err.h> #include <openssl/err.h>
#include <openssl/pem.h> #include <openssl/pem.h>
#include <openssl/ssl.h> #include <openssl/ssl.h>
#include <openssl/x509.h>
#include <openssl/x509v3.h> #include <openssl/x509v3.h>
typedef enum _direction_t { typedef enum _direction_t {

View File

@ -4,7 +4,6 @@
#include "task.h" #include "task.h"
#include "tls.h" #include "tls.h"
#include <assert.h>
#include <string.h> #include <string.h>
#include <stdlib.h> #include <stdlib.h>

View File

@ -10,7 +10,6 @@
#include "uv.h" #include "uv.h"
#include <assert.h> #include <assert.h>
#include <pthread.h>
#include <stdio.h> #include <stdio.h>
#include <string.h> #include <string.h>
#include <time.h> #include <time.h>

View File

@ -6,7 +6,6 @@
#include "trace.h" #include "trace.h"
#include "backtrace.h" #include "backtrace.h"
#include "openssl/crypto.h"
#include "openssl/sha.h" #include "openssl/sha.h"
#include "picohttpparser.h" #include "picohttpparser.h"
#include "sodium/utils.h" #include "sodium/utils.h"