Code Review
/
src
/
app-framework-binder.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
afb-daemon: Fix optionnal port
[src/app-framework-binder.git]
/
include
/
afb
/
afb-binding.h
diff --git
a/include/afb/afb-binding.h
b/include/afb/afb-binding.h
index
085dc38
..
5122405
100644
(file)
--- a/
include/afb/afb-binding.h
+++ b/
include/afb/afb-binding.h
@@
-1,5
+1,5
@@
/*
/*
- * Copyright (C) 2016
, 2017, 2018
"IoT.bzh"
+ * Copyright (C) 2016
-2019
"IoT.bzh"
* Author: José Bollo <jose.bollo@iot.bzh>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* Author: José Bollo <jose.bollo@iot.bzh>
*
* Licensed under the Apache License, Version 2.0 (the "License");
@@
-41,7
+41,7
@@
#include <stdarg.h>
#include <stdint.h>
#include <stdarg.h>
#include <stdint.h>
-struct json_object;
+#include <json-c/json.h>
/**
* @def AFB_BINDING_INTERFACE_VERSION
/**
* @def AFB_BINDING_INTERFACE_VERSION
@@
-96,10
+96,10
@@
struct json_object;
"
#else
# if AFB_BINDING_VERSION == 1
"
#else
# if AFB_BINDING_VERSION == 1
-#
pragma GCC
warning "Using binding version 1, consider to switch to version 3"
+# warning "Using binding version 1, consider to switch to version 3"
# endif
# if AFB_BINDING_VERSION == 2
# endif
# if AFB_BINDING_VERSION == 2
-#
pragma GCC
warning "Using binding version 2, consider to switch to version 3"
+# warning "Using binding version 2, consider to switch to version 3"
# endif
#endif
# endif
#endif