Fix client releasing code simpler 76/289376/4
authorSuyeon Hwang <stom.hwang@samsung.com>
Wed, 22 Feb 2023 04:27:06 +0000 (13:27 +0900)
committerSuyeon Hwang <stom.hwang@samsung.com>
Tue, 7 Mar 2023 01:14:24 +0000 (10:14 +0900)
commite7a523d398ccbedb07c4266a9da9f8089c2a72ef
treeb52af8c8eeca7d8a9c8461aec2dae883d275ad77
parentcd56c3395c657ab668a109090062597790f06b50
Fix client releasing code simpler

- Issue:
tts_config_mgr_unset_callback should be invoked for all clients when
they are released.

- Solution:
This patch fixes the __tts_config_release_client()'s behavior. Through
this patch, __tts_config_release_client() will invoke
tts_config_mgr_unset_callback() to reset all callbacks in client
structure.
And plus, this patch changes the name and type of these functions. These
two functions are only invoked in this file. This means that those
functions are private. So, this patch makes these functions as static
and changes the name of these functions which avoids the reserved
identifiers.

Change-Id: I2d20ca73595eacca5a37d8e84822a8d4e0602df7
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
common/tts_config_mgr.c
common/tts_config_mgr.h