diff options
author | John Ankarström <john@ankarstrom.se> | 2021-09-19 14:46:47 +0200 |
---|---|---|
committer | John Ankarström <john@ankarstrom.se> | 2021-09-19 14:46:47 +0200 |
commit | 53569c91e4ebdbba96e6286f846dead1d427e6e2 (patch) | |
tree | 70d9e65a3e175d034349dbfb17e1044b752a1334 /cforum.c | |
parent | 3f2a9bc6638dbe09bd8c70fdac068555659e58ac (diff) | |
download | cforum-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 'cforum.c')
-rw-r--r-- | cforum.c | 7 |
1 files changed, 1 insertions, 6 deletions
@@ -3,12 +3,7 @@ #include <stdio.h> #include <stdlib.h> #include <string.h> - -#include "ctl.h" /* Controllers. */ -#include "db.h" /* Database functions. Defines global variable db. */ -#include "err.h" /* HTTP errors. */ -#include "site.h" /* Site settings. Defines global struct site. */ -#include "query.h" /* Query functions. Defines global struct query. */ +#include "cforum.h" #define MAXMSG 300 |