From 5206b26e1a6811d142ffbaf12daaea0731345490 Mon Sep 17 00:00:00 2001 From: Romain Forlot Date: Wed, 7 Jun 2017 23:38:19 +0200 Subject: Cleanup include and prepare to switch binding v2 Change-Id: I032e8ec32c3ff5b2464f2802dd93683752316049 Signed-off-by: Romain Forlot --- CAN-binder/low-can-binding/binding/low-can-cb.cpp | 5 ----- CAN-binder/low-can-binding/binding/low-can-hat.cpp | 5 ----- CAN-binder/low-can-binding/binding/low-can-hat.hpp | 1 + 3 files changed, 1 insertion(+), 10 deletions(-) (limited to 'CAN-binder/low-can-binding/binding') 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 bc94eed..e352101 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 -}; - ///****************************************************************************** /// 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 ddaa5a2..e8e5629 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 -}; - // 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 233d798..34dd80b 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 }; -- cgit 1.2.3-korg