diff options
-rw-r--r-- | samsung_symbols/symbols.cpp | 47 |
1 files changed, 3 insertions, 44 deletions
diff --git a/samsung_symbols/symbols.cpp b/samsung_symbols/symbols.cpp index b4be80c..749c523 100644 --- a/samsung_symbols/symbols.cpp +++ b/samsung_symbols/symbols.cpp @@ -15,50 +15,9 @@ */ #include <stdlib.h> -#include <malloc.h> -extern "C" int _ZN7android6Parcel13writeString16EPKDsj(); -extern "C" int _ZN7android6Parcel13writeString16EPKtj(){ - return _ZN7android6Parcel13writeString16EPKDsj(); -} +// Do not check libsec-ril.so protobuf version -extern "C" int _ZN7android13SensorManager5sLockE; -extern "C" int _ZN7android9SingletonINS_13SensorManagerEE5sLockE = _ZN7android13SensorManager5sLockE; - -extern "C" int _ZN7android13SensorManager17sPackageInstancesE; -extern "C" int _ZN7android9SingletonINS_13SensorManagerEE9sInstanceE = _ZN7android13SensorManager17sPackageInstancesE; - -extern "C" int _ZN7android13SensorManagerD1Ev(); -extern "C" int _ZN7android13SensorManagerC1Ev(){ - return _ZN7android13SensorManagerD1Ev(); -} - -extern "C" int _ZN7android13SensorManager16createEventQueueENS_7String8Ei(); -extern "C" int _ZN7android13SensorManager16createEventQueueEv(){ - return _ZN7android13SensorManager16createEventQueueENS_7String8Ei(); -} - -extern "C" void *CRYPTO_malloc(int num, const char *file, int line); -extern "C" void *CRYPTO_malloc(int num, const char *file, int line){ - if (num <= 0) - return NULL; - else - return malloc(num); -} - -extern "C" void RIL_register_socket(); -extern "C" void RIL_register_socket() {} - -extern "C" int MsgHeader_fields = NULL; - -extern "C" int RIL_SIM_SAP_DISCONNECT_REQ_fields = NULL; - -extern "C" void GetClientData(); -extern "C" void GetClientData() {} - -extern "C" void SetClientData(char); -extern "C" void SetClientData(char) {} - -extern "C" void Connect_RILD_Second(); -extern "C" void Connect_RILD_Second() {} +extern "C" void _ZN6google8protobuf8internal13VerifyVersionEiiPKc(); +extern "C" void _ZN6google8protobuf8internal13VerifyVersionEiiPKc(){} |