Applied Tizen coding rule 67/63867/1 accepted/tizen_ivi accepted/tizen/common/20160404.123803 accepted/tizen/ivi/20160405.012721 accepted/tizen/mobile/20160405.012655 submit/tizen/20160404.111214
authorYounho Park <younho.park@samsung.com>
Mon, 28 Mar 2016 07:32:15 +0000 (16:32 +0900)
committerYounho Park <younho.park@samsung.com>
Mon, 28 Mar 2016 07:32:15 +0000 (16:32 +0900)
Change-Id: I804aa6925b58b8b64a70283d8b391969f822cc14
Signed-off-by: Younho Park <younho.park@samsung.com>
auth-plugin/auth-plugin-sample-log.h
storage-plugin/storage-plugin-sample-log.h

index 4d51b51f1c03df7e0276715373fb8d3f8b497919..a2d3ab6faf6e7585a37e9563721ee198ed6e388a 100644 (file)
@@ -20,7 +20,7 @@
 
 /* These defines must be located before #include <dlog.h> */
 #define TIZEN_ENGINEER_MODE
-// TODO: Investigate why this macro is defined somewhere else
+/* TODO: Investigate why this macro is defined somewhere else */
 #ifndef TIZEN_DEBUG_ENABLE
 #define TIZEN_DEBUG_ENABLE
 #endif
@@ -70,7 +70,7 @@ extern "C"
         *  @param[out] val  Value to be returned when expression is true
         */
 #define auth_plugin_sample_retv_if(expr, val) do { \
-       if(expr) { \
+       if (expr) { \
                LOGE(FONT_COLOR_PURPLE"[%d]"FONT_COLOR_RESET, auth_plugin_sample_gettid());    \
                return (val); \
        } \
@@ -91,7 +91,7 @@ extern "C"
  * @param[in]  args Arguments to be displayed
  */
 #define auth_plugin_sample_info(fmt, arg...) do { \
-       LOGI(FONT_COLOR_BLUE"[%d]"fmt""FONT_COLOR_RESET, auth_plugin_sample_gettid() ,##arg);     \
+       LOGI(FONT_COLOR_BLUE"[%d]"fmt""FONT_COLOR_RESET, auth_plugin_sample_gettid()##arg);     \
 } while (0)
 
 /**
index ad1e60bba1a74f79eb0d4bc60313f35cf6439890..d88a548f2baf597e43c7a1a83a2aeb2674507794 100644 (file)
@@ -20,7 +20,7 @@
 
 /* These defines must be located before #include <dlog.h> */
 #define TIZEN_ENGINEER_MODE
-// TODO: Investigate why this macro is defined somewhere else
+/* TODO: Investigate why this macro is defined somewhere else */
 #ifndef TIZEN_DEBUG_ENABLE
 #define TIZEN_DEBUG_ENABLE
 #endif
@@ -70,7 +70,7 @@ extern "C"
         *  @param[out] val  Value to be returned when expression is true
         */
 #define storage_plugin_sample_retv_if(expr, val) do { \
-       if(expr) { \
+       if (expr) { \
                LOGE(FONT_COLOR_PURPLE"[%d]"FONT_COLOR_RESET, storage_plugin_sample_gettid());    \
                return (val); \
        } \
@@ -91,7 +91,7 @@ extern "C"
  * @param[in]  args Arguments to be displayed
  */
 #define storage_plugin_sample_info(fmt, arg...) do { \
-       LOGI(FONT_COLOR_BLUE"[%d]"fmt""FONT_COLOR_RESET, storage_plugin_sample_gettid() ,##arg);     \
+       LOGI(FONT_COLOR_BLUE"[%d]"fmt""FONT_COLOR_RESET, storage_plugin_sample_gettid()##arg);     \
 } while (0)
 
 /**