diff options
author | Haejeong Kim <backto.kim@samsung.com> | 2017-03-30 09:59:15 +0900 |
---|---|---|
committer | Haejeong Kim <backto.kim@samsung.com> | 2017-03-30 09:59:15 +0900 |
commit | aee150adb2f1ea46f8ab3e1ee32896338bc811eb (patch) | |
tree | 5aff090d4422911a3c3647ca9044a0a41388ff36 /src/util | |
parent | b309bbcdcb5dafd7c22dcd669b918117b25076b6 (diff) | |
download | libmedia-thumbnail-aee150adb2f1ea46f8ab3e1ee32896338bc811eb.tar.gz libmedia-thumbnail-aee150adb2f1ea46f8ab3e1ee32896338bc811eb.tar.bz2 libmedia-thumbnail-aee150adb2f1ea46f8ab3e1ee32896338bc811eb.zip |
Just Apply Tizen Coding Rulesubmit/tizen/20170330.015416accepted/tizen/wearable/20170330.224548accepted/tizen/unified/20170330.224627accepted/tizen/tv/20170330.224531accepted/tizen/mobile/20170330.224451accepted/tizen/ivi/20170330.224603accepted/tizen/common/20170330.151639accepted/tizen_wearableaccepted/tizen_tvaccepted/tizen_mobileaccepted/tizen_iviaccepted/tizen_common
Change-Id: I6951f5a5bf334838c9d17dba0edb03be10a30c96
Diffstat (limited to 'src/util')
-rwxr-xr-x | src/util/media-thumb-db.c | 2 | ||||
-rwxr-xr-x | src/util/media-thumb-debug.c | 10 |
2 files changed, 4 insertions, 8 deletions
diff --git a/src/util/media-thumb-db.c b/src/util/media-thumb-db.c index 9b1e670..62ff2cb 100755 --- a/src/util/media-thumb-db.c +++ b/src/util/media-thumb-db.c @@ -27,7 +27,7 @@ #include <string.h> #include <unistd.h> -static __thread MediaDBHandle *db_handle; +static __thread MediaDBHandle *db_handle; sqlite3 *_media_thumb_db_get_handle() { diff --git a/src/util/media-thumb-debug.c b/src/util/media-thumb-debug.c index 9515505..f293afd 100755 --- a/src/util/media-thumb-debug.c +++ b/src/util/media-thumb-debug.c @@ -88,25 +88,21 @@ void thumb_print_debug_time(char *time_string) double totaltime = 0.0; gettimeofday(&time, NULL); - totaltime = - (double)(time.tv_sec * 1000000 + time.tv_usec - - g_time_usec) / CLOCKS_PER_SEC; + totaltime = (double)(time.tv_sec * 1000000 + time.tv_usec - g_time_usec) / CLOCKS_PER_SEC; thumb_dbg("time [%s] : %f", time_string, totaltime); #endif } void -thumb_print_debug_time_ex(long start, long end, const char *func_name, - char *time_string) +thumb_print_debug_time_ex(long start, long end, const char *func_name, char *time_string) { #ifdef _PERFORMANCE_CHECK_ double totaltime = 0.0; totaltime = (double)(end - start) / CLOCKS_PER_SEC; - thumb_dbg("time [%s: %s] : %f", func_name, time_string, - totaltime); + thumb_dbg("time [%s: %s] : %f", func_name, time_string, totaltime); #endif } #endif
\ No newline at end of file |