diff options
author | Love <ganesh.deva_1@nxp.com> | 2018-05-16 00:36:16 +0530 |
---|---|---|
committer | nxf24591 <nanjesh.s_1@nxp.com> | 2018-06-14 11:24:49 +0530 |
commit | 7a7842cf7299e621b36e332efe18dfab0b7f4584 (patch) | |
tree | a92e71f31822e6d0adb90bf8c370b555bb0241d2 /halimpl/utils/phNxpConfig.cpp | |
parent | 08c262bcb21ec832696f7ebe214ec5c485b72359 (diff) |
Compilation Fixes
Diffstat (limited to 'halimpl/utils/phNxpConfig.cpp')
-rwxr-xr-x | halimpl/utils/phNxpConfig.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/halimpl/utils/phNxpConfig.cpp b/halimpl/utils/phNxpConfig.cpp index b3d2257..e3d96ba 100755 --- a/halimpl/utils/phNxpConfig.cpp +++ b/halimpl/utils/phNxpConfig.cpp @@ -919,7 +919,7 @@ void readOptionalConfig(const char* extra) { ** Returns: True if found, otherwise False. ** *******************************************************************************/ -extern "C" int GetNxpStrValue(const char* name, char* pValue, +extern int GetNxpStrValue(const char* name, char* pValue, unsigned long len) { nxp::CNfcConfig& rConfig = nxp::CNfcConfig::GetInstance(); @@ -943,7 +943,7 @@ extern "C" int GetNxpStrValue(const char* name, char* pValue, ** false[0] ** *******************************************************************************/ -extern "C" int GetNxpByteArrayValue(const char* name, char* pValue, +extern int GetNxpByteArrayValue(const char* name, char* pValue, long bufflen, long* len) { nxp::CNfcConfig& rConfig = nxp::CNfcConfig::GetInstance(); @@ -959,7 +959,7 @@ extern "C" int GetNxpByteArrayValue(const char* name, char* pValue, ** Returns: true, if successful ** *******************************************************************************/ -extern "C" int GetNxpNumValue(const char* name, void* pValue, +extern int GetNxpNumValue(const char* name, void* pValue, unsigned long len) { if (!pValue) return false; @@ -1000,7 +1000,7 @@ extern "C" int GetNxpNumValue(const char* name, void* pValue, ** Returns: none ** *******************************************************************************/ -extern "C" void resetNxpConfig() +extern void resetNxpConfig() { nxp::CNfcConfig& rConfig = nxp::CNfcConfig::GetInstance(); @@ -1017,7 +1017,7 @@ extern "C" void resetNxpConfig() ** Returns: 0 if not modified, 1 otherwise. ** *******************************************************************************/ -extern "C" int isNxpConfigModified() { +extern int isNxpConfigModified() { nxp::CNfcConfig& rConfig = nxp::CNfcConfig::GetInstance(); return rConfig.isModified(); } @@ -1030,7 +1030,7 @@ extern "C" int isNxpConfigModified() { ** Returns: 0 if not modified, 1 otherwise. ** *******************************************************************************/ -extern "C" int isNxpRFConfigModified() { +extern int isNxpRFConfigModified() { int retRF = 0, rettransit = 0, ret = 0; nxp::CNfcConfig& rConfig = nxp::CNfcConfig::GetInstance(); retRF = rConfig.isModified(nxp_rf_config_path); @@ -1049,7 +1049,7 @@ extern "C" int isNxpRFConfigModified() { ** Returns: 0 if not modified, 1 otherwise. ** *******************************************************************************/ -extern "C" int updateNxpConfigTimestamp() { +extern int updateNxpConfigTimestamp() { nxp::CNfcConfig& rConfig = nxp::CNfcConfig::GetInstance(); rConfig.resetModified(); return 0; |