diff options
author | Andreas Schneider <asn@cryptomilk.org> | 2015-04-07 19:13:42 +0200 |
---|---|---|
committer | Gerrit Code Review <gerrit@cyanogenmod.org> | 2015-04-08 05:40:16 +0000 |
commit | a23501a58e143e33ceb743429710fb9408dcf955 (patch) | |
tree | 834af71aa6f5d92eb75d8df16f99aa244413126d | |
parent | f8e5e164804f1408c2350dade3fd92d561e7076c (diff) | |
download | android_hardware_samsung-a23501a58e143e33ceb743429710fb9408dcf955.tar.gz android_hardware_samsung-a23501a58e143e33ceb743429710fb9408dcf955.tar.bz2 android_hardware_samsung-a23501a58e143e33ceb743429710fb9408dcf955.zip |
libril: Fix processRadioState prototype
Change-Id: I19c5c2319fe4110c3859012a27a08d5c7f942177
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
-rw-r--r-- | ril/libril/ril.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ril/libril/ril.cpp b/ril/libril/ril.cpp index ad4a606..c1b25e0 100644 --- a/ril/libril/ril.cpp +++ b/ril/libril/ril.cpp @@ -310,7 +310,7 @@ static int responseDcRtInfo(Parcel &p, void *response, size_t responselen); static int decodeVoiceRadioTechnology (RIL_RadioState radioState); static int decodeCdmaSubscriptionSource (RIL_RadioState radioState); -static RIL_RadioState processRadioState(RIL_RadioState newRadioState); +static RIL_RadioState processRadioState(RIL_RadioState newRadioState, RIL_SOCKET_ID socket_id); #ifdef RIL_SHLIB #if defined(ANDROID_MULTI_SIM) @@ -4336,7 +4336,7 @@ static bool is3gpp2(int radioTech) { * returned when telephony framework requests them */ static RIL_RadioState -processRadioState(RIL_RadioState newRadioState, RIL_SOCKET_ID socket_id) { +processRadioState(RIL_RadioState newRadioState, RIL_SOCKET_ID socket_id __unused) { if((newRadioState > RADIO_STATE_UNAVAILABLE) && (newRadioState < RADIO_STATE_ON)) { int newVoiceRadioTech; |