2020-08-10 20:40:49 +00:00
|
|
|
--- a/include/eibclient.h
|
|
|
|
+++ b/include/eibclient.h
|
|
|
|
@@ -27,11 +27,12 @@
|
|
|
|
#ifndef EIBCLIENT_H
|
|
|
|
#define EIBCLIENT_H
|
|
|
|
|
|
|
|
-#include "sys/cdefs.h"
|
|
|
|
#include "stdint.h"
|
|
|
|
#include <pthsem.h>
|
|
|
|
|
|
|
|
-__BEGIN_DECLS;
|
|
|
|
+#ifdef __cplusplus
|
|
|
|
+extern "C" {
|
|
|
|
+#endif
|
|
|
|
|
|
|
|
#include "eibloadresult.h"
|
|
|
|
|
2021-02-21 00:02:15 +00:00
|
|
|
@@ -705,5 +706,7 @@ BCU_LOAD_RESULT EIB_LoadImage (EIBConnec
|
2020-08-10 20:40:49 +00:00
|
|
|
*/
|
|
|
|
int EIB_LoadImage_async (EIBConnection * con, const uint8_t * image, int len);
|
|
|
|
|
|
|
|
-__END_DECLS
|
|
|
|
+#ifdef __cplusplus
|
|
|
|
+}
|
|
|
|
+#endif
|
|
|
|
#endif
|