sdm660-common: libqti-perfd-client: Remove namespace declaration

It's pointless when using extern "C".

Change-Id: Ibdf9f06a70aa3a75687b33781c78cf2172bb334d
Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
This commit is contained in:
Bruno Martins 2021-05-22 14:52:37 +01:00 committed by OdSazib
parent 7d7454d95f
commit d426a25b10
No known key found for this signature in database
GPG key ID: D4CC9F3E8190970A

View file

@ -3,23 +3,21 @@
#include <stdint.h>
#include <log/log.h>
namespace android {
extern "C" void perf_get_feedback() {}
extern "C" void perf_hint() {}
extern "C" int perf_lock_acq(int handle, int duration, int arg3[], int arg4) {
ALOGI("perf_lock_acq: handle: %d, duration: %d, arg3[0]: %d, arg4: %d", handle, duration, arg3[0], arg4);
if (handle > 0)
return handle;
extern "C" void perf_get_feedback() {}
extern "C" void perf_hint() {}
extern "C" int perf_lock_acq(int handle, int duration, int arg3[], int arg4) {
ALOGI("perf_lock_acq: handle: %d, duration: %d, arg3[0]: %d, arg4: %d", handle, duration, arg3[0], arg4);
if (handle > 0)
return handle;
return 233;
}
extern "C" void perf_lock_cmd() {}
extern "C" int perf_lock_rel(int handle) {
ALOGI("perf_lock_rel: handle: %d", handle);
if (handle > 0)
return handle;
return 233;
}
extern "C" void perf_lock_use_profile() {}
return 233;
}
extern "C" void perf_lock_cmd() {}
extern "C" int perf_lock_rel(int handle) {
ALOGI("perf_lock_rel: handle: %d", handle);
if (handle > 0)
return handle;
return 233;
}
extern "C" void perf_lock_use_profile() {}