aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/storage.h
diff options
context:
space:
mode:
authorEgor Tensin <egor@tensin.name>2026-06-13 19:51:00 +0200
committerEgor Tensin <egor@tensin.name>2026-06-13 19:51:04 +0200
commit84262d9f69aa6730c69f464b5b4fb7f6030bf329 (patch)
tree44a506c7c10923e32ab2063594ec4049b988e97a /src/storage.h
parentadd .git-blame-ignore-revs (diff)
downloadcimple-84262d9f69aa6730c69f464b5b4fb7f6030bf329.tar.gz
cimple-84262d9f69aa6730c69f464b5b4fb7f6030bf329.zip
switch from tabs to spaces
It was fun while it lasted, but I do believe that spaces are strictly superior, and clang-format struggles with tabs while using advanced configuration options.
Diffstat (limited to 'src/storage.h')
-rw-r--r--src/storage.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/storage.h b/src/storage.h
index d20e08e..e8ce59f 100644
--- a/src/storage.h
+++ b/src/storage.h
@@ -13,23 +13,23 @@
#include "storage_sqlite.h"
enum storage_type {
- STORAGE_TYPE_SQLITE,
+ STORAGE_TYPE_SQLITE,
};
struct storage_settings {
- enum storage_type type;
- union {
- struct storage_sqlite_settings* sqlite;
- };
+ enum storage_type type;
+ union {
+ struct storage_sqlite_settings* sqlite;
+ };
};
void storage_settings_destroy(const struct storage_settings*);
struct storage {
- enum storage_type type;
- union {
- struct storage_sqlite* sqlite;
- };
+ enum storage_type type;
+ union {
+ struct storage_sqlite* sqlite;
+ };
};
int storage_create(struct storage*, const struct storage_settings*);