diff options
author | Youngjae Shin <yj99.shin@samsung.com> | 2017-09-13 11:22:50 +0900 |
---|---|---|
committer | Youngjae Shin <yj99.shin@samsung.com> | 2017-09-13 11:22:50 +0900 |
commit | 674754cc38be0174a855011306dde0b2951b4081 (patch) | |
tree | baad51d607b02fea020f051407a67bd8d2dfe6fd | |
parent | 732c535670d54465a99aa5b864d0eddd99c5c2d5 (diff) | |
download | librua-674754cc38be0174a855011306dde0b2951b4081.tar.gz librua-674754cc38be0174a855011306dde0b2951b4081.tar.bz2 librua-674754cc38be0174a855011306dde0b2951b4081.zip |
fix coding rule error
Change-Id: If4cde307ce8b3a9f717901b7c156ca21aec0740b
-rw-r--r-- | include/rua.h | 2 | ||||
-rw-r--r-- | include/rua_internal.h | 2 | ||||
-rw-r--r-- | include/rua_stat.h | 2 | ||||
-rw-r--r-- | include/rua_stat_internal.h | 2 | ||||
-rw-r--r-- | test/rua-test.c | 5 |
5 files changed, 6 insertions, 7 deletions
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; } |