projects
/
platform
/
core
/
connectivity
/
bluetooth-agent.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add the base code for gtest verification
[platform/core/connectivity/bluetooth-agent.git]
/
hf-agent
/
bluetooth-hf-agent.h
diff --git
a/hf-agent/bluetooth-hf-agent.h
b/hf-agent/bluetooth-hf-agent.h
index
da34405
..
a86a7f1
100644
(file)
--- a/
hf-agent/bluetooth-hf-agent.h
+++ b/
hf-agent/bluetooth-hf-agent.h
@@
-24,6
+24,10
@@
#ifndef __DEF_BT_HF_AGENT_H_
#define __DEF_BT_HF_AGENT_H_
+#ifdef __cplusplus
+extern "C" {
+#endif
+
#undef LOG_TAG
#define LOG_TAG "BLUETOOTH_HF_AGENT"
@@
-339,4
+343,7
@@
struct sockaddr_sco {
bdaddr_t sco_bdaddr;
};
+#ifdef __cplusplus
+}
+#endif
#endif /* __DEF_BT_HF_AGENT_H_ */