Fixed: Coding rule issues.
[apps/native/ug-wifi-direct.git] / ug-wifidirect / include / wfd_ug.h
index 274e1d9..c49852e 100644 (file)
@@ -72,7 +72,7 @@
 
 #define WFD_IF_DEL_OBJ(obj) \
                do { \
-                       if(obj) { \
+                       if (obj) { \
                                evas_object_del(obj); \
                                obj = NULL; \
                        } \
@@ -80,7 +80,7 @@
 
 #define WFD_IF_DEL_ITEM(obj) \
                do { \
-                       if(obj) { \
+                       if (obj) { \
                                elm_object_item_del(obj); \
                                obj = NULL; \
                        } \
 
 #define WFD_RET_IF(expr, fmt, args...) \
                do { \
-                       if(expr) { \
-                               DBG(LOG_ERROR, "[%s] Return, message "fmt, #expr, ##args );\
+                       if (expr) { \
+                               DBG(LOG_ERROR, "[%s] Return, message "fmt, #expr, ##args);\
                                return; \
                        } \
                } while (0)
 
 #define WFD_RETV_IF(expr, val, fmt, args...) \
                do { \
-                       if(expr) { \
-                               DBG(LOG_ERROR,"[%s] Return value, message "fmt, #expr, ##args );\
+                       if (expr) { \
+                               DBG(LOG_ERROR, "[%s] Return value, message "fmt, #expr, ##args);\
                                return (val); \
                        } \
                } while (0)
 
 #define WFD_IF_FREE_MEM(mem) \
                do { \
-                       if(mem) { \
+                       if (mem) { \
                                free(mem); \
                                mem = NULL; \
                        } \
@@ -160,7 +160,7 @@ typedef enum {
 } discovery_status_e;
 
 
-typedef struct device_type_s_{
+typedef struct device_type_s_ {
        char ssid[SSID_LENGTH + 1];
        unsigned int category;
        unsigned int sub_category;