fix coding rule error 03/149703/1
authorYoungjae Shin <yj99.shin@samsung.com>
Wed, 13 Sep 2017 02:22:50 +0000 (11:22 +0900)
committerYoungjae Shin <yj99.shin@samsung.com>
Wed, 13 Sep 2017 02:22:50 +0000 (11:22 +0900)
Change-Id: If4cde307ce8b3a9f717901b7c156ca21aec0740b

include/rua.h
include/rua_internal.h
include/rua_stat.h
include/rua_stat_internal.h
test/rua-test.c

index a2dfe34..c310be5 100644 (file)
@@ -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
  */
index ec496d8..5caace6 100644 (file)
@@ -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
  */
index 6a78ba8..e314b46 100644 (file)
@@ -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
index 4b5addc..0887f87 100644 (file)
@@ -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
index 5aa3619..35b2183 100644 (file)
@@ -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;
        }