From: stom.hwang Date: Thu, 14 Jul 2016 07:22:20 +0000 (+0900) Subject: Fix - Coding rule X-Git-Tag: accepted/tizen/common/20160715.175634^0 X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fstt.git;a=commitdiff_plain;h=36fb34841f6fa844b073b392212459e79a9ae998 Fix - Coding rule Change-Id: I6b48ac0f137cd5ae4bd338460af38346b9737d3a Signed-off-by: stom.hwang --- diff --git a/client/stt.c b/client/stt.c index 134596b..82c47cb 100755 --- a/client/stt.c +++ b/client/stt.c @@ -133,7 +133,7 @@ static int __stt_check_privilege() SLOG(LOG_ERROR, TAG_STTC, "[ERROR] Permission is denied"); return STT_ERROR_PERMISSION_DENIED; } else if (-1 == g_privilege_allowed) { - if (false == __check_privilege_initialize()){ + if (false == __check_privilege_initialize()) { SLOG(LOG_ERROR, TAG_STTC, "[ERROR] privilege initialize is failed"); return STT_ERROR_PERMISSION_DENIED; } diff --git a/client/stt_client.h b/client/stt_client.h index ed77143..2a89e2f 100644 --- a/client/stt_client.h +++ b/client/stt_client.h @@ -61,7 +61,7 @@ typedef struct { /* option */ bool silence_supported; stt_option_silence_detection_e silence; - bool credential_needed; + bool credential_needed; /* state */ stt_state_e before_state; diff --git a/server/sttd_recorder.c b/server/sttd_recorder.c index 9d35fc5..75c0fa3 100644 --- a/server/sttd_recorder.c +++ b/server/sttd_recorder.c @@ -251,7 +251,7 @@ int sttd_recorder_deinitialize() if (NULL != recorder) { g_recorder_list = g_slist_remove(g_recorder_list, recorder); - if(recorder->audio_h) { + if (recorder->audio_h) { audio_in_destroy(recorder->audio_h); recorder->audio_h = NULL; } @@ -262,7 +262,7 @@ int sttd_recorder_deinitialize() } #ifdef TV_BT_MODE - bt_hid_host_deinitialize (); + bt_hid_host_deinitialize(); bt_deinitialize(); #endif diff --git a/server/sttp.h b/server/sttp.h index 72366b1..424f264 100644 --- a/server/sttp.h +++ b/server/sttp.h @@ -46,7 +46,7 @@ typedef enum { STTP_ERROR_NOT_SUPPORTED_FEATURE = TIZEN_ERROR_STT | 0x05, /**< Not supported feature of current engine */ STTP_ERROR_NO_SPEECH = TIZEN_ERROR_STT | 0x06, /**< No speech while recording */ STTP_ERROR_RECORDING_TIMED_OUT = TIZEN_ERROR_STT | 0x10 /**< Recording timed out */ -}sttp_error_e; +} sttp_error_e; /** * @brief Enumerations of audio type. @@ -277,7 +277,7 @@ typedef bool (*sttpe_support_silence_detection)(void); * @return @c true to be needed app credential, \n @c false not to be needed app credential. * */ -typedef bool (* sttpe_need_app_credential)(void); +typedef bool (*sttpe_need_app_credential)(void); /** * @brief Gets supporting recognition type.