Apply conding rule 50/63950/1
authorsung.goo.kim <sung.goo.kim@samsung.com>
Tue, 29 Mar 2016 03:53:26 +0000 (12:53 +0900)
committersung.goo.kim <sung.goo.kim@samsung.com>
Tue, 29 Mar 2016 03:53:46 +0000 (12:53 +0900)
Change-Id: I12c418091c2495368825301ea5525dd269a80cc6

common/ic-log.h
lib/include/iotcon-constant.h
lib/include/iotcon-errors.h
test/test.h

index d076da173b64fc7fd9cc468cf7cbc6d8214f56cb..d2c8d063114692d03bff32ef87c3136ef2d44141 100644 (file)
                if (expr) { \
                        ERR("(%s)", #expr); \
                        return; \
-               }\
-       } while(0)
+               } \
+       } while (0)
 
 #define RETV_IF(expr, val) \
-       do {\
+       do { \
                if (expr) { \
                        ERR("(%s)", #expr); \
                        return (val); \
                } \
-       } while(0)
+       } while (0)
 
 #define RETM_IF(expr, fmt, arg...) \
-       do {\
+       do { \
                if (expr) { \
                        ERR(fmt, ##arg); \
                        return; \
-               }\
-       } while(0)
+               } \
+       } while (0)
 
 #define RETVM_IF(expr, val, fmt, arg...) \
-       do {\
+       do { \
                if (expr) { \
                        ERR(fmt, ##arg); \
                        return (val); \
                } \
-       } while(0)
+       } while (0)
 
 #define ERR_IF(expr) \
        do { \
index 1d5c22660355384796ea0aad4a952ffbc1d71436..2d3b3be7e35bdf61b4fb8ebdeceef80de1f040d7 100644 (file)
@@ -175,9 +175,9 @@ typedef enum {
  * @since_tizen 3.0
  */
 typedef enum  {
-    IOTCON_PRESENCE_RESOURCE_CREATED, /**< Indicates for resource creation operation of server */
-    IOTCON_PRESENCE_RESOURCE_UPDATED, /**< Indicates for resource update operation of server */
-    IOTCON_PRESENCE_RESOURCE_DESTROYED, /**< Indicates for resource destruction operation of server */
+       IOTCON_PRESENCE_RESOURCE_CREATED, /**< Indicates for resource creation operation of server */
+       IOTCON_PRESENCE_RESOURCE_UPDATED, /**< Indicates for resource update operation of server */
+       IOTCON_PRESENCE_RESOURCE_DESTROYED, /**< Indicates for resource destruction operation of server */
 } iotcon_presence_trigger_e;
 
 /**
index 602ebee8367bbeae6f273676e4b23b07264c1974..116f203301ff696b48b631ee9bb795436a08a1db 100644 (file)
@@ -33,8 +33,7 @@
  *
  * @{
  */
-typedef enum
-{
+typedef enum {
        IOTCON_ERROR_NONE = TIZEN_ERROR_NONE, /**< Successful */
        IOTCON_ERROR_IO_ERROR = TIZEN_ERROR_IO_ERROR, /**< I/O error */
        IOTCON_ERROR_OUT_OF_MEMORY = TIZEN_ERROR_OUT_OF_MEMORY, /**< Out of memory */
@@ -49,7 +48,7 @@ typedef enum
        IOTCON_ERROR_ALREADY = TIZEN_ERROR_IOTCON | 0x04, /**< Already */
        IOTCON_ERROR_DBUS = TIZEN_ERROR_IOTCON | 0x05, /**< D-Bus errors */
        IOTCON_ERROR_SYSTEM = TIZEN_ERROR_IOTCON | 0x06, /**< System errors */
-}iotcon_error_e;
+} iotcon_error_e;
 
 /**
  * @}
index 7901c8f0f1b7c7a152b9c28d01e000dac65647e9..312ef04728eada6368ccb5e0cdec53f5ec29840e 100644 (file)
                if (expr) { \
                        ERR("(%s)", #expr); \
                        return; \
-               }\
-       } while(0)
+               } \
+       } while (0)
 
 #define RETV_IF(expr, val) \
-       do {\
+       do { \
                if (expr) { \
                        ERR("(%s)", #expr); \
                        return (val); \
                } \
-       } while(0)
+       } while (0)
 
 #define RETM_IF(expr, fmt, arg...) \
-       do {\
+       do { \
                if (expr) { \
                        ERR(fmt, ##arg); \
                        return; \
-               }\
-       } while(0)
+               } \
+       } while (0)
 
 #define RETVM_IF(expr, val, fmt, arg...) \
-       do {\
+       do { \
                if (expr) { \
                        ERR(fmt, ##arg); \
                        return (val); \
                } \
-       } while(0)
+       } while (0)
 
 #define ERR_IF(expr) \
        do { \