aboutsummaryrefslogtreecommitdiff
path: root/db.c
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2021-09-19 14:46:47 +0200
committerJohn Ankarström <john@ankarstrom.se>2021-09-19 14:46:47 +0200
commit53569c91e4ebdbba96e6286f846dead1d427e6e2 (patch)
tree70d9e65a3e175d034349dbfb17e1044b752a1334 /db.c
parent3f2a9bc6638dbe09bd8c70fdac068555659e58ac (diff)
downloadcforum-53569c91e4ebdbba96e6286f846dead1d427e6e2.tar.gz
Use single header file
There are drawbacks with this approach, but the benefit -- for a small-ish project -- is that the single header file can serve as a very good overview and guide for people exploring the code for the first time.
Diffstat (limited to 'db.c')
-rw-r--r--db.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/db.c b/db.c
index a6391a6..0db8d1f 100644
--- a/db.c
+++ b/db.c
@@ -4,7 +4,7 @@
#include <string.h>
#include <sqlite3.h>
#include <time.h>
-#include "db.h"
+#include "cforum.h"
static char * strdupn(const unsigned char *);