forked from cory/tildefriends
		
	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:
		@@ -7,7 +7,6 @@
 | 
			
		||||
 | 
			
		||||
#include "sqlite3.h"
 | 
			
		||||
 | 
			
		||||
#include <assert.h>
 | 
			
		||||
#include <stdbool.h>
 | 
			
		||||
#include <string.h>
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -13,9 +13,6 @@
 | 
			
		||||
 | 
			
		||||
#ifdef _WIN32
 | 
			
		||||
#include <windows.h>
 | 
			
		||||
#else
 | 
			
		||||
#include <dirent.h>
 | 
			
		||||
#include <unistd.h>
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
static JSValue _file_read_file(JSContext* context, JSValueConst this_val, int argc, JSValueConst* argv);
 | 
			
		||||
 
 | 
			
		||||
@@ -1,17 +1,15 @@
 | 
			
		||||
#include "log.h"
 | 
			
		||||
#include "mem.h"
 | 
			
		||||
#include "ssb.h"
 | 
			
		||||
#include "ssb.db.h"
 | 
			
		||||
#include "ssb.import.h"
 | 
			
		||||
#include "ssb.import.h"
 | 
			
		||||
#include "ssb.export.h"
 | 
			
		||||
#include "ssb.h"
 | 
			
		||||
#include "ssb.import.h"
 | 
			
		||||
#include "task.h"
 | 
			
		||||
#include "taskstub.js.h"
 | 
			
		||||
#include "tests.h"
 | 
			
		||||
#include "util.js.h"
 | 
			
		||||
 | 
			
		||||
#include "backtrace.h"
 | 
			
		||||
#include "quickjs.h"
 | 
			
		||||
#include "sqlite3.h"
 | 
			
		||||
#include "xopt.h"
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -8,7 +8,6 @@
 | 
			
		||||
 | 
			
		||||
#include "uv.h"
 | 
			
		||||
 | 
			
		||||
#include <assert.h>
 | 
			
		||||
#include <string.h>
 | 
			
		||||
 | 
			
		||||
typedef int promiseid_t;
 | 
			
		||||
 
 | 
			
		||||
@@ -26,13 +26,6 @@
 | 
			
		||||
#include <string.h>
 | 
			
		||||
#include <time.h>
 | 
			
		||||
 | 
			
		||||
#ifndef _WIN32
 | 
			
		||||
#ifndef __ANDROID__
 | 
			
		||||
#include <execinfo.h>
 | 
			
		||||
#endif
 | 
			
		||||
#include <unistd.h>
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#if !defined(_countof)
 | 
			
		||||
#define _countof(a) ((int)(sizeof((a)) / sizeof(*(a))))
 | 
			
		||||
#endif
 | 
			
		||||
 
 | 
			
		||||
@@ -7,9 +7,6 @@
 | 
			
		||||
#include "util.js.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 "sqlite3.h"
 | 
			
		||||
#include "uv.h"
 | 
			
		||||
 
 | 
			
		||||
@@ -1,6 +1,5 @@
 | 
			
		||||
#include "ssb.js.h"
 | 
			
		||||
 | 
			
		||||
#include "database.js.h"
 | 
			
		||||
#include "log.h"
 | 
			
		||||
#include "mem.h"
 | 
			
		||||
#include "ssb.db.h"
 | 
			
		||||
@@ -8,7 +7,6 @@
 | 
			
		||||
#include "trace.h"
 | 
			
		||||
#include "util.js.h"
 | 
			
		||||
 | 
			
		||||
#include "sodium/crypto_hash_sha256.h"
 | 
			
		||||
#include "sodium/crypto_box.h"
 | 
			
		||||
#include "sodium/crypto_scalarmult.h"
 | 
			
		||||
#include "sodium/crypto_scalarmult_curve25519.h"
 | 
			
		||||
 
 | 
			
		||||
@@ -8,7 +8,6 @@
 | 
			
		||||
#include "trace.h"
 | 
			
		||||
#include "util.js.h"
 | 
			
		||||
 | 
			
		||||
#include "sqlite3.h"
 | 
			
		||||
#include "uv.h"
 | 
			
		||||
 | 
			
		||||
#include <assert.h>
 | 
			
		||||
 
 | 
			
		||||
@@ -33,7 +33,6 @@
 | 
			
		||||
#include <malloc.h>
 | 
			
		||||
#include <string.h>
 | 
			
		||||
#include <stdio.h>
 | 
			
		||||
#include <sys/types.h>
 | 
			
		||||
 | 
			
		||||
#if !defined(_countof)
 | 
			
		||||
#define _countof(a) ((int)(sizeof((a)) / sizeof(*(a))))
 | 
			
		||||
 
 | 
			
		||||
@@ -4,7 +4,6 @@
 | 
			
		||||
 | 
			
		||||
#include "quickjs.h"
 | 
			
		||||
 | 
			
		||||
struct uv_loop_s;
 | 
			
		||||
typedef struct uv_loop_s uv_loop_t;
 | 
			
		||||
typedef struct uv_timer_s uv_timer_t;
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -2,14 +2,12 @@
 | 
			
		||||
 | 
			
		||||
#include "mem.h"
 | 
			
		||||
 | 
			
		||||
#include <ctype.h>
 | 
			
		||||
#include <string.h>
 | 
			
		||||
 | 
			
		||||
#include <openssl/bio.h>
 | 
			
		||||
#include <openssl/err.h>
 | 
			
		||||
#include <openssl/pem.h>
 | 
			
		||||
#include <openssl/ssl.h>
 | 
			
		||||
#include <openssl/x509.h>
 | 
			
		||||
#include <openssl/x509v3.h>
 | 
			
		||||
 | 
			
		||||
typedef enum _direction_t {
 | 
			
		||||
 
 | 
			
		||||
@@ -4,7 +4,6 @@
 | 
			
		||||
#include "task.h"
 | 
			
		||||
#include "tls.h"
 | 
			
		||||
 | 
			
		||||
#include <assert.h>
 | 
			
		||||
#include <string.h>
 | 
			
		||||
#include <stdlib.h>
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -10,7 +10,6 @@
 | 
			
		||||
#include "uv.h"
 | 
			
		||||
 | 
			
		||||
#include <assert.h>
 | 
			
		||||
#include <pthread.h>
 | 
			
		||||
#include <stdio.h>
 | 
			
		||||
#include <string.h>
 | 
			
		||||
#include <time.h>
 | 
			
		||||
 
 | 
			
		||||
@@ -6,7 +6,6 @@
 | 
			
		||||
#include "trace.h"
 | 
			
		||||
 | 
			
		||||
#include "backtrace.h"
 | 
			
		||||
#include "openssl/crypto.h"
 | 
			
		||||
#include "openssl/sha.h"
 | 
			
		||||
#include "picohttpparser.h"
 | 
			
		||||
#include "sodium/utils.h"
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user