aboutsummaryrefslogtreecommitdiffstats
path: root/binding/radio-binding.c
diff options
context:
space:
mode:
authorThierry Bultel <thierry.bultel@iot.bzh>2018-07-11 17:24:08 +0200
committerThierry Bultel <thierry.bultel@iot.bzh>2018-07-17 10:50:07 +0200
commitb3303810b1edbe0a9bc7c066fb6c4ea96cb65c12 (patch)
treee88bb6122b9051a37ea088dfee67e734bee520a5 /binding/radio-binding.c
parente2c836ff4229b158d528aaa537c0f4d216debe3e (diff)
Set the binding version in cmake instead of source
Setting AFB_BINDING_VERSION is cmake makes merges easier between branches, since it is always defined once at a single place instead that in each file that need it. Also removed the "INSTALL" section with LIBRARY_DESTINATION since it is now treated in app-templates. Change-Id: I7ef5f3b4d2009ab6ec296ac70bfc0a5647f9534c Signed-off-by: Thierry Bultel <thierry.bultel@iot.bzh>
Diffstat (limited to 'binding/radio-binding.c')
-rw-r--r--binding/radio-binding.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/binding/radio-binding.c b/binding/radio-binding.c
index e1e1763..715ec35 100644
--- a/binding/radio-binding.c
+++ b/binding/radio-binding.c
@@ -22,9 +22,7 @@
#include <stdint.h>
#include <unistd.h>
#include <sys/types.h>
-
#include <json-c/json.h>
-#define AFB_BINDING_VERSION 2
#include <afb/afb-binding.h>
#include "radio_impl.h"