Commit a9a9a8f3 authored by claes's avatar claes

c++ compilable

parent f2bc55f6
...@@ -29,6 +29,9 @@ ...@@ -29,6 +29,9 @@
#include "rt_mh_net.h" #include "rt_mh_net.h"
#endif #endif
#if defined __cplusplus
extern "C" {
#endif
/** @defgroup MSGH_DS Data Structures /** @defgroup MSGH_DS Data Structures
...@@ -162,4 +165,7 @@ pwr_tStatus mh_ApplGetMsgInfo ( ...@@ -162,4 +165,7 @@ pwr_tStatus mh_ApplGetMsgInfo (
/**@}*/ /**@}*/
/**@}*/ /**@}*/
#if defined __cplusplus
}
#endif
#endif #endif
...@@ -24,6 +24,10 @@ ...@@ -24,6 +24,10 @@
#include "rt_qcom.h" #include "rt_qcom.h"
#endif #endif
#if defined __cplusplus
extern "C" {
#endif
pwr_tStatus mh_UtilCreateEvent (); /* create the event semaphore */ pwr_tStatus mh_UtilCreateEvent (); /* create the event semaphore */
pwr_tStatus mh_UtilDestroyEvent (); /* destroy the event semaphore */ pwr_tStatus mh_UtilDestroyEvent (); /* destroy the event semaphore */
...@@ -32,4 +36,19 @@ pwr_tStatus mh_UtilStartScanSup (qcom_sQid Source); ...@@ -32,4 +36,19 @@ pwr_tStatus mh_UtilStartScanSup (qcom_sQid Source);
pwr_tStatus mh_UtilStopScanSup (qcom_sQid Source); /* wait for emon to start */ pwr_tStatus mh_UtilStopScanSup (qcom_sQid Source); /* wait for emon to start */
pwr_tStatus mh_UtilWaitForMh (); pwr_tStatus mh_UtilWaitForMh ();
pwr_tStatus mh_UtilWake (); /* wake all waiting for emon to start */ pwr_tStatus mh_UtilWake (); /* wake all waiting for emon to start */
#if defined __cplusplus
}
#endif
#endif #endif
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment