format: Sort includes. Yes, please.

This commit is contained in:
Cory McWilliams 2024-10-08 12:19:44 -04:00
parent a8fa969114
commit 277830bc3c
11 changed files with 12 additions and 13 deletions

View File

@ -14,7 +14,7 @@ IndentWidth: 4
MaxEmptyLinesToKeep: 1
ObjCBlockIndentWidth: 4
ObjCBreakBeforeNestedBlockParam: false
SortIncludes: false
SortIncludes: true
TabWidth: 4
UseTab: Always
...

View File

@ -4,8 +4,8 @@
#include "http.h"
#include "log.h"
#include "mem.h"
#include "ssb.h"
#include "ssb.db.h"
#include "ssb.h"
#include "task.h"
#include "tlscontext.js.h"
#include "trace.h"

View File

@ -2,15 +2,14 @@
#include "util.js.h"
#include "uv.h"
#include "quickjs.h"
#include "sqlite3.h"
#include "uv.h"
#include <openssl/crypto.h>
#include <string.h>
#include <stdbool.h>
#include <string.h>
typedef struct _tf_mem_node_t tf_mem_node_t;

View File

@ -6,9 +6,9 @@
#include "trace.h"
#include "util.js.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include <assert.h>

View File

@ -4,8 +4,8 @@
#include "mem.h"
#include "ssb.h"
#include "uv.h"
#include "sqlite3.h"
#include "uv.h"
#include <string.h>

View File

@ -13,8 +13,8 @@
#include "sodium/crypto_secretbox.h"
#include "sodium/crypto_sign.h"
#include "sodium/randombytes.h"
#include "string.h"
#include "sqlite3.h"
#include "string.h"
#include "uv.h"
#include <assert.h>

View File

@ -2,8 +2,8 @@
#include "log.h"
#include "mem.h"
#include "ssb.h"
#include "ssb.db.h"
#include "ssb.h"
#include "util.js.h"
#include "sqlite3.h"

View File

@ -27,12 +27,12 @@
#include <openssl/crypto.h>
#include <assert.h>
#include <string.h>
#include <stdio.h>
#include <string.h>
#if !defined(_WIN32)
#include <unistd.h>
#include <sys/wait.h>
#include <unistd.h>
#endif
#if defined(_WIN32)

View File

@ -7,8 +7,8 @@
#include "task.h"
#include "util.js.h"
#include <string.h>
#include <stdio.h>
#include <string.h>
#ifdef _WIN32
#include <io.h>

View File

@ -9,8 +9,8 @@
#include <assert.h>
#include <stdbool.h>
#include <stdlib.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>

View File

@ -5,8 +5,8 @@
#include "task.h"
#include "tls.h"
#include <string.h>
#include <stdlib.h>
#include <string.h>
static JSClassID _classId;
static int _count;