summaryrefslogtreecommitdiffstats
path: root/examples/c4cat_dyn.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/c4cat_dyn.c')
-rw-r--r--examples/c4cat_dyn.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/c4cat_dyn.c b/examples/c4cat_dyn.c
index 92da979..51161ef 100644
--- a/examples/c4cat_dyn.c
+++ b/examples/c4cat_dyn.c
@@ -17,6 +17,8 @@
CC4Group_API* cc4group_dyn;
#define cc4group (*cc4group_dyn)
+// if you already inspected the normal c4cat you may skip down to main, as the rest is exactly the same thanks to the #define-trick above
+
bool catNormalFile(const char* const path, const off_t size)
{
int file = open(path, O_RDONLY);