From: Hyihong Chae Date: Fri, 1 Apr 2016 04:48:37 +0000 (+0900) Subject: apply coding convention X-Git-Tag: accepted/tizen/common/20160401.075721^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=aa93478559fadca9c8f9101129ac82b4ac660918;p=platform%2Fcore%2Fapi%2Fsmartcard.git apply coding convention Change-Id: I84567637a1a18aa88340b8b85cc6d1eb7bee4c73 Signed-off-by: HyiHong Chae --- diff --git a/include/smartcard_debug.h b/include/smartcard_debug.h old mode 100644 new mode 100755 index 1415da1..ed0fad1 --- a/include/smartcard_debug.h +++ b/include/smartcard_debug.h @@ -28,61 +28,49 @@ #define COLOR_END "\033[0;m" #define _ERR(fmt, ...) \ - do \ - { \ + do { \ LOGE(COLOR_RED fmt COLOR_END, ##__VA_ARGS__); \ - } \ - while (0) + } while (0) #define _INFO(fmt, ...) \ - do \ - { \ + do { \ LOGI(COLOR_GREEN fmt COLOR_END, ##__VA_ARGS__); \ - } \ - while (0) + } while (0) #define _WARN(fmt, ...) \ - do \ - { \ + do { \ LOGI(COLOR_BROWN fmt COLOR_END, ##__VA_ARGS__); \ - } \ - while (0) + } while (0) #define _DBG(fmt, ...) \ - do \ - { \ + do { \ LOGD(fmt, ##__VA_ARGS__); \ - } \ - while (0) + } while (0) #define _BEGIN() \ - do \ - { \ + do { \ LOGD(COLOR_BLUE "BEGIN >>>>" COLOR_END); \ - } \ - while (0) + } while (0) #define _END() \ - do \ - { \ + do { \ LOGD(COLOR_BLUE "END <<<<" COLOR_END); \ - } \ - while (0) + } while (0) #define cond_expr_ret(expr, val) \ - do {\ + do { \ if (expr) { \ _ERR("[precond fail] expr : %s, ret : %d\n", #expr, val); \ return (val); \ } \ - } while(0) + } while (0) #define cond_ret(val) \ - do {\ - if(val) { \ + do { \ + if (val) { \ _ERR("[precond fail] ret : %d\n", val); \ return (val); \ } \ - } while(0) + } while (0) #endif diff --git a/packaging/capi-network-smartcard.spec b/packaging/capi-network-smartcard.spec index 3da980e..f4119eb 100755 --- a/packaging/capi-network-smartcard.spec +++ b/packaging/capi-network-smartcard.spec @@ -1,6 +1,6 @@ Name: capi-network-smartcard Summary: A Smartcard library in Native API -Version: 0.0.5 +Version: 0.0.6 Release: 1 Group: Network & Connectivity/Smartcard License: Apache-2.0