summaryrefslogtreecommitdiffstats
path: root/power-common.c
diff options
context:
space:
mode:
authorMichael Bestas <mkbestas@lineageos.org>2018-03-26 02:07:57 +0300
committerMichael Bestas <mkbestas@lineageos.org>2019-10-23 01:12:56 +0300
commitc9ed433d24c2807a33a25ed42ec57526063ac127 (patch)
tree28fe9ac7e266332daf1484da4cb6cd72198ca3d8 /power-common.c
parent689414dbd0c18379144f96e3bde393b259d541cd (diff)
downloadvendor_qcom_opensource_power-c9ed433d24c2807a33a25ed42ec57526063ac127.tar.gz
vendor_qcom_opensource_power-c9ed433d24c2807a33a25ed42ec57526063ac127.tar.bz2
vendor_qcom_opensource_power-c9ed433d24c2807a33a25ed42ec57526063ac127.zip
power: Avoid interaction build errors
Change-Id: I77942f23a9c617abac1a8533cfc1fd7bfa7f66e8
Diffstat (limited to 'power-common.c')
-rw-r--r--power-common.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/power-common.c b/power-common.c
index 6719158..2e5b8c8 100644
--- a/power-common.c
+++ b/power-common.c
@@ -64,9 +64,6 @@ int __attribute__((weak)) power_hint_override(power_hint_t UNUSED(hint), void* U
return HINT_NONE;
}
-/* Declare function before use */
-void interaction(int duration, int num_args, int opt_list[]);
-
void power_hint(power_hint_t hint, void* data) {
/* Check if this hint has been overridden. */
if (power_hint_override(hint, data) == HINT_HANDLED) {