summaryrefslogtreecommitdiffstats
path: root/src/main.cpp
diff options
context:
space:
mode:
authorMarcus Fritzsch <marcus_fritzsch@mentor.com>2017-07-06 11:59:36 +0200
committerMarcus Fritzsch <marcus_fritzsch@mentor.com>2017-08-08 17:24:00 +0200
commitd45f8674ced71594fa9ba99900cc87a19fcecb20 (patch)
tree9cc060604ae80a34783b1b59ad7a289367fcd3bd /src/main.cpp
parent9dfa6b9427115e7402ce25e40e4d78b20d559c93 (diff)
util: logging to the afb daemon
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp
index a2331c4..7be0b57 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -5,9 +5,8 @@
#include <algorithm>
#include <json.h>
-#define AFB_BINDING_VERSION 2
-
extern "C" {
+#define AFB_BINDING_VERSION 2
#include <afb/afb-binding.h>
#include <systemd/sd-event.h>
}