|
|
|
@ -314,10 +314,10 @@ static RIL_RadioState processRadioState(RIL_RadioState newRadioState, RIL_SOCKET |
|
|
|
|
|
|
|
|
|
#ifdef RIL_SHLIB |
|
|
|
|
#if defined(ANDROID_MULTI_SIM) |
|
|
|
|
extern "C" void RIL_onUnsolicitedResponse(int unsolResponse, void *data, |
|
|
|
|
extern "C" void RIL_onUnsolicitedResponse(int unsolResponse, const void *data, |
|
|
|
|
size_t datalen, RIL_SOCKET_ID socket_id); |
|
|
|
|
#else |
|
|
|
|
extern "C" void RIL_onUnsolicitedResponse(int unsolResponse, void *data, |
|
|
|
|
extern "C" void RIL_onUnsolicitedResponse(int unsolResponse, const void *data, |
|
|
|
|
size_t datalen); |
|
|
|
|
#endif |
|
|
|
|
#endif |
|
|
|
@ -4374,11 +4374,11 @@ processRadioState(RIL_RadioState newRadioState, RIL_SOCKET_ID socket_id __unused |
|
|
|
|
|
|
|
|
|
#if defined(ANDROID_MULTI_SIM) |
|
|
|
|
extern "C" |
|
|
|
|
void RIL_onUnsolicitedResponse(int unsolResponse, void *data, |
|
|
|
|
void RIL_onUnsolicitedResponse(int unsolResponse, const void *data, |
|
|
|
|
size_t datalen, RIL_SOCKET_ID socket_id) |
|
|
|
|
#else |
|
|
|
|
extern "C" |
|
|
|
|
void RIL_onUnsolicitedResponse(int unsolResponse, void *data, |
|
|
|
|
void RIL_onUnsolicitedResponse(int unsolResponse, const void *data, |
|
|
|
|
size_t datalen) |
|
|
|
|
#endif |
|
|
|
|
{ |
|
|
|
|