add static
authorSeungKeun Lee <sngn.lee@samsung.com>
Tue, 21 Feb 2012 02:31:41 +0000 (11:31 +0900)
committerSeungKeun Lee <sngn.lee@samsung.com>
Tue, 21 Feb 2012 02:31:41 +0000 (11:31 +0900)
src/tone_player.c

index 743a50d14096c6c00018786d8b73418e78fc44a5..ec81871d34192d1b9f6c8498122a50ee7e976226 100755 (executable)
@@ -30,7 +30,7 @@
 #include <dlog.h>
 
 
-int _convert_tone_player_error_code(const char *func, int code){
+static int __convert_tone_player_error_code(const char *func, int code){
        int ret = TONE_PLAYER_ERROR_NONE;
        char *errorstr = NULL;
        switch(code)
@@ -59,16 +59,16 @@ int tone_player_start(tone_type_e tone, sound_type_e type, int duration, int *id
        int ret;
        int player;
        if( tone < TONE_TYPE_DEFAULT || tone > TONE_TYPE_CDMA_SIGNAL_OFF )
-               return _convert_tone_player_error_code(__func__, TONE_PLAYER_ERROR_INVALID_PARAMETER);
+               return __convert_tone_player_error_code(__func__, TONE_PLAYER_ERROR_INVALID_PARAMETER);
        
        ret = mm_sound_play_tone(tone, type , 1, duration, &player);
 
        if( ret == 0 && id != NULL)
                *id = player;           
-       return _convert_tone_player_error_code(__func__, ret);
+       return __convert_tone_player_error_code(__func__, ret);
 }
 
 int tone_player_stop(int id){
-       return _convert_tone_player_error_code(__func__, mm_sound_stop_sound(id));
+       return __convert_tone_player_error_code(__func__, mm_sound_stop_sound(id));
 }