summaryrefslogtreecommitdiffstats
path: root/CAN-binder/low-can-binding/binding
diff options
context:
space:
mode:
Diffstat (limited to 'CAN-binder/low-can-binding/binding')
-rw-r--r--CAN-binder/low-can-binding/binding/low-can-cb.cpp5
-rw-r--r--CAN-binder/low-can-binding/binding/low-can-hat.cpp5
-rw-r--r--CAN-binder/low-can-binding/binding/low-can-hat.hpp1
3 files changed, 1 insertions, 10 deletions
diff --git a/CAN-binder/low-can-binding/binding/low-can-cb.cpp b/CAN-binder/low-can-binding/binding/low-can-cb.cpp
index bc94eedf..e3521018 100644
--- a/CAN-binder/low-can-binding/binding/low-can-cb.cpp
+++ b/CAN-binder/low-can-binding/binding/low-can-cb.cpp
@@ -35,11 +35,6 @@
#include "../diagnostic/diagnostic-message.hpp"
#include "../utils/openxc-utils.hpp"
-extern "C"
-{
- #include <afb/afb-service-itf.h>
-};
-
///******************************************************************************
///
diff --git a/CAN-binder/low-can-binding/binding/low-can-hat.cpp b/CAN-binder/low-can-binding/binding/low-can-hat.cpp
index ddaa5a24..e8e56297 100644
--- a/CAN-binder/low-can-binding/binding/low-can-hat.cpp
+++ b/CAN-binder/low-can-binding/binding/low-can-hat.cpp
@@ -28,11 +28,6 @@
#include "application.hpp"
#include "../can/can-bus.hpp"
-extern "C"
-{
- #include <afb/afb-service-itf.h>
-};
-
// Interface between the daemon and the binding
const struct afb_binding_interface *binder_interface;
diff --git a/CAN-binder/low-can-binding/binding/low-can-hat.hpp b/CAN-binder/low-can-binding/binding/low-can-hat.hpp
index 233d7987..34dd80b4 100644
--- a/CAN-binder/low-can-binding/binding/low-can-hat.hpp
+++ b/CAN-binder/low-can-binding/binding/low-can-hat.hpp
@@ -26,6 +26,7 @@
extern "C"
{
+ #define AFB_BINDING_VERSION 1
#include <afb/afb-binding.h>
};