summaryrefslogtreecommitdiff
path: root/src/fl_load.c
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2012-05-13 18:40:42 +0200
committerYorhel <git@yorhel.nl>2012-05-13 18:46:19 +0200
commitf5692e4b3904f64f5edf0aacc96e80b9f1608ca1 (patch)
tree2efe9b97c8626315ec68a2fecf6c353f0765b2a4 /src/fl_load.c
parent02923e5175f42a616995e2f1dcda2f66a046eed4 (diff)
Use makeheaders to generate a specific header for each .c file
This is a bit different from the previous approach where a .h file was generated for each .c file as well, except that those .h files contained all the exported definitions. With this new approach, the .h files are not supposed to be included in any file besides the correspondig .c file, and they now contain the exported definitions used from other .c files. This is all explained in the makeheaders documentation at http://www.hwaci.com/sw/mkhdr/makeheaders.html. This will likely need a bit more tweaking here and there.
Diffstat (limited to 'src/fl_load.c')
-rw-r--r--src/fl_load.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/fl_load.c b/src/fl_load.c
index 268ea99..1700b8e 100644
--- a/src/fl_load.c
+++ b/src/fl_load.c
@@ -25,6 +25,7 @@
#include "ncdc.h"
+#include "fl_load.h"
#include <errno.h>
#include <stdio.h>
#include <string.h>