libril: Fix processRadioState prototype
authorAndreas Schneider <asn@cryptomilk.org>
Tue, 7 Apr 2015 17:13:42 +0000 (19:13 +0200)
committerGerrit Code Review <gerrit@cyanogenmod.org>
Wed, 8 Apr 2015 05:40:16 +0000 (05:40 +0000)
Change-Id: I19c5c2319fe4110c3859012a27a08d5c7f942177
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
ril/libril/ril.cpp

index ad4a606dacc7a5b5a35f9eda1019dc8882bb008e..c1b25e0e7a95f8231154a464457baeae1a8c78a2 100644 (file)
@@ -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;