Fix coding rules 38/148838/1
authorchleun.moon <chleun.moon@samsung.com>
Mon, 11 Sep 2017 04:43:20 +0000 (13:43 +0900)
committerchleun.moon <chleun.moon@samsung.com>
Mon, 11 Sep 2017 04:43:31 +0000 (13:43 +0900)
Change-Id: I058b65eb8428fd3fa25560e53a14db24b38fb9b7
Signed-off-by: Cheoleun Moon <chleun.moon@samsung.com>
include/log.h
include/neterror.h
include/network-monitor.h
include/wifi-state.h

index 0b4fb6a..e48fb5e 100755 (executable)
@@ -40,7 +40,7 @@ void          log_cleanup(void);
                        netconfig_log("%s(%d) "format"\n", __FUNCTION__, __LINE__,  ## arg); \
                } \
                SLOG(level, NETCONFIG_TAG, format, ## arg); \
-       } while(0)
+       } while (0)
 
 #define DBG(format, arg...)    __LOG(LOG_DEBUG, format, ## arg)
 #define INFO(format, arg...)   __LOG(LOG_INFO, format, ## arg)
index 5e5fccd..59f9392 100755 (executable)
@@ -37,11 +37,11 @@ extern "C" {
 
 typedef enum {
        NETCONFIG_NO_ERROR                              = 0x00,
-       NETCONFIG_ERROR_INTERNAL                = 0x01,
-       NETCONFIG_ERROR_NO_SERVICE              = 0x02,
-       NETCONFIG_ERROR_TRASPORT                = 0x03,
-       NETCONFIG_ERROR_NO_PROFILE              = 0x04,
-       NETCONFIG_ERROR_WRONG_PROFILE   = 0x05,
+       NETCONFIG_ERROR_INTERNAL                = 0x01,
+       NETCONFIG_ERROR_NO_SERVICE              = 0x02,
+       NETCONFIG_ERROR_TRASPORT                = 0x03,
+       NETCONFIG_ERROR_NO_PROFILE              = 0x04,
+       NETCONFIG_ERROR_WRONG_PROFILE   = 0x05,
        NETCONFIG_ERROR_INPROGRESS              = 0x06,
        NETCONFIG_ERROR_ALREADYEXISTS   = 0x07,
        NETCONFIG_ERROR_INVALID_PARAMETER               = 0x08,
@@ -53,7 +53,7 @@ typedef enum {
        NETCONFIG_ERROR_FAILED_GET_SIM_AUTH_WRONG_DATA          = 0x0E,
        NETCONFIG_ERROR_FAILED_GET_SIM_AUTH_DELAY                       = 0x0F,
        NETCONFIG_ERROR_FAILED_REQ_AKA_AUTH                                     = 0x10,
-       NETCONFIG_ERROR_MAX                                                             = 0x11,
+       NETCONFIG_ERROR_MAX                                                                     = 0x11,
 } netconfig_error_e;
 
 void netconfig_error_no_profile(GDBusMethodInvocation *context);
index 16ed406..5155eb5 100755 (executable)
 extern "C" {
 #endif
 
-#define ETH_REG_BMSR           0x01
+#define ETH_REG_BMSR           0x01
 #define BMSR_LINK_VALID                0x0004
 
 #define SIOCGMIIPHY            0x8947          /* Get address of MII PHY in use. */
 #define SIOCGMIIREG            0x8948          /* Read MII PHY register.       */
 
 struct _stMData {
-    unsigned short phy_id;
-    unsigned short reg_num;
-    unsigned short val_in;
-    unsigned short val_out;
+       unsigned short phy_id;
+       unsigned short reg_num;
+       unsigned short val_in;
+       unsigned short val_out;
 };
 
 int netconfig_ethernet_cable_plugin_status_check();
index f524706..7e1e453 100755 (executable)
@@ -55,7 +55,7 @@ void                                  wifi_state_update_power_state(gboolean powered);
 void                                   wifi_state_emit_power_completed(gboolean power_on);
 void                                   wifi_state_emit_power_failed(void);
 
-char                                   *wifi_get_favorite_service(void);
+char                                   *wifi_get_favorite_service(void);
 void                                   wifi_start_timer_network_notification(void);
 
 void                                   wifi_state_notifier_register(wifi_state_notifier *notifier);