From: Youngjae Shin Date: Wed, 13 Sep 2017 02:22:50 +0000 (+0900) Subject: fix coding rule error X-Git-Tag: accepted/tizen/4.0/unified/20170920.081438~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=674754cc38be0174a855011306dde0b2951b4081;p=platform%2Fcore%2Fappfw%2Flibrua.git fix coding rule error Change-Id: If4cde307ce8b3a9f717901b7c156ca21aec0740b --- diff --git a/include/rua.h b/include/rua.h index a2dfe34..c310be5 100644 --- a/include/rua.h +++ b/include/rua.h @@ -107,7 +107,7 @@ int rua_delete_history_with_apppath_for_uid(char *app_path, uid_t uid); /** * @brief Clear history - * @return 0 on success, otherwise a nagative error value + * @return 0 on success, otherwise a nagative error value * @retval 0 on successful * @retval -1 on failed */ diff --git a/include/rua_internal.h b/include/rua_internal.h index ec496d8..5caace6 100644 --- a/include/rua_internal.h +++ b/include/rua_internal.h @@ -36,7 +36,7 @@ extern "C" { /** * @brief Delete history from DB - * @return 0 on success, otherwise a nagative error value + * @return 0 on success, otherwise a nagative error value * @retval 0 on successful * @retval -1 on failed */ diff --git a/include/rua_stat.h b/include/rua_stat.h index 6a78ba8..e314b46 100644 --- a/include/rua_stat.h +++ b/include/rua_stat.h @@ -15,7 +15,7 @@ */ /** - * @file rua_stat.h + * @file rua_stat.h * @brief RUA STATUS API declaration header file. * @author Hyunho Kang (hhstark.kang@samsung.com) * @version 0.1 diff --git a/include/rua_stat_internal.h b/include/rua_stat_internal.h index 4b5addc..0887f87 100644 --- a/include/rua_stat_internal.h +++ b/include/rua_stat_internal.h @@ -15,7 +15,7 @@ */ /** - * @file rua_stat_internal.h + * @file rua_stat_internal.h * @brief RUA STATUS INTERNAL API declaration header file. * @author Hyunho Kang (hhstark.kang@samsung.com) * @version 0.1 diff --git a/test/rua-test.c b/test/rua-test.c index 5aa3619..35b2183 100644 --- a/test/rua-test.c +++ b/test/rua-test.c @@ -43,7 +43,7 @@ static void *__print_menu(void *arg) int test_num = 0; int run_next = 1; - while(run_next) { + while (run_next) { printf("==========================================\n"); printf(" Basic test menu \n"); printf("==========================================\n"); @@ -257,8 +257,7 @@ int main() mainloop = g_main_loop_new(NULL, FALSE); int result = pthread_create(&g_thread, NULL, __print_menu, (void *)NULL); - if (result < 0) - { + if (result < 0) { printf("pthread_create failed in initialize\n"); return 0; }