Change internal function to static
[platform/core/uifw/tts.git] / server / ttsd_engine_agent.c
index 2f87c11..83abe14 100644 (file)
@@ -73,7 +73,7 @@ static void __free_voice_list(GList* voice_list);
 static int ttsd_print_voicelist();
 
 /** Get engine info */
-int __internal_get_engine_info(ttse_request_callback_s* callback);
+static int __internal_get_engine_info(ttse_request_callback_s* callback);
 
 static const char* __ttsd_get_engine_error_code(ttse_error_e err)
 {
@@ -833,7 +833,7 @@ int ttsd_engine_load_voice(const char* lang, const int vctype)
                return TTSD_ERROR_OPERATION_FAILED;
        }
 
-       /* 2. increse ref count */
+       /* 2. increase ref count */
        data->client_ref_count++;
 
        /* 3. if ref count change 0 to 1 and not default, load voice */
@@ -907,7 +907,7 @@ int ttsd_engine_unload_voice(const char* lang, const int vctype)
                return TTSD_ERROR_OPERATION_FAILED;
        }
 
-       /* 2. Decrese ref count */
+       /* 2. Decrease ref count */
        data->client_ref_count--;
 
        /* 3. if ref count change 0 and not default, load voice */
@@ -1272,7 +1272,7 @@ int ttsd_print_voicelist()
        return 0;
 }
 
-int __internal_get_engine_info(ttse_request_callback_s* callback)
+static int __internal_get_engine_info(ttse_request_callback_s* callback)
 {
        SLOG(LOG_DEBUG, tts_tag(), "[Engine Agent DEBUG] internal get engine info");