summaryrefslogtreecommitdiff
path: root/cpp.c
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2016-01-29 09:54:53 +0100
committerTobias Klauser <tklauser@distanz.ch>2016-01-29 09:54:53 +0100
commita2d5d65b21b02af0285c96ee7a95900529390e54 (patch)
tree6c7a33f98c525f826b2f64370daf431d8017d677 /cpp.c
parentfd1f6a9eb945999f6177fd517c69c001048d8218 (diff)
cpp: Fix sparse warning
Include cpp.h for the prototype of cpp_exec() in order to fix the following sparse warning: cpp.c:18:5: warning: symbol 'cpp_exec' was not declared. Should it be static? Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'cpp.c')
-rw-r--r--cpp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/cpp.c b/cpp.c
index 30a1404..f6c15af 100644
--- a/cpp.c
+++ b/cpp.c
@@ -1,6 +1,7 @@
#include <stdio.h>
#include <libgen.h>
+#include "cpp.h"
#include "str.h"
#include "proc.h"
#include "xmalloc.h"