Fix parameter mismatch between header and implementation

RIL_onUnsolicitedResponse's second parameter is
const void *data
according to include/telephony/ril.h and rild/rild.c, but
void *data
according to libril/ril.cpp

This mismatch causes a compile failure with clang (and I'm surprised
it compiles with gcc with the mismatch - probably gcc parses this as
function overloading even though it's extern "C", which wouldn't do
what is expected).

Change-Id: Ib437040aeca4be43cc2d327c3715ffa98c76878c
Signed-off-by: Bernhard Rosenkränzer <>
1 file changed
tree: 191e9c8b2dc81246ae51f13a0bcf784bd72d2dc3
  1. include/
  2. libril/
  3. librilutils/
  4. reference-ril/
  5. rild/