From 3fa62ccff84d7dcd719d3df2422a933f0fffe9f6 Mon Sep 17 00:00:00 2001 From: Johan Hedberg Date: Fri, 5 Sep 2008 13:57:10 +0300 Subject: Make indicator table read-only (const) on headset.c side --- audio/telephony.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'audio/telephony.h') diff --git a/audio/telephony.h b/audio/telephony.h index 38eb6a11..0f48b583 100644 --- a/audio/telephony.h +++ b/audio/telephony.h @@ -76,7 +76,8 @@ int telephony_terminate_call(void); int telephony_answer_call(void); -int telephony_ready(uint32_t features, struct indicator *indicators, int rh); +int telephony_ready(uint32_t features, const struct indicator *indicators, + int rh); /* Helper function for quick indicator updates */ static inline int telephony_update_indicator(struct indicator *indicators, -- cgit