pwr: Refactor code, check for NULL pointers and prevent memory leaks
[samsung-ril.git] / samsung-ril.h
index c6c1a7e..1346cdf 100644 (file)
@@ -241,7 +241,7 @@ void ipc_gen_phone_res(struct ipc_message_info *info);
 void ipc_pwr_phone_pwr_up(void);
 void ipc_pwr_phone_reset(void);
 void ipc_pwr_phone_state(struct ipc_message_info *info);
-void ril_request_radio_power(RIL_Token t, void *data, size_t datalen);
+void ril_request_radio_power(RIL_Token t, void *data, int length);
 
 /* DISP */