[Fix] Coding Rule - include/serial_private.h 68/149468/1
authorTaesoo Jun <steve.jun@samsung.com>
Tue, 12 Sep 2017 09:03:27 +0000 (18:03 +0900)
committerTaesoo Jun <steve.jun@samsung.com>
Tue, 12 Sep 2017 09:03:27 +0000 (18:03 +0900)
Change-Id: I541cf13ab9f464bf6b31fd35932828dda102202e

include/serial_private.h

index 3b63b50..2e5c88f 100644 (file)
@@ -14,7 +14,6 @@
  * limitations under the License.
  */
 
-
 #ifndef __TIZEN_NETWORK_SERIAL_PRIVATE_H__
 #define __TIZEN_NETWORK_SERIAL_PRIVATE_H__
 
@@ -30,38 +29,34 @@ extern "C" {
  * @internal
  * @brief Serial callback.
  */
- typedef struct _serial_event_s
- {
-        const void *callback;
-        void *user_data;
- } serial_event_s;
-
+       typedef struct _serial_event_s {
+               const void *callback;
+               void *user_data;
+       } serial_event_s;
 
  /**
   * @internal
   * @brief Serial handle
   */
typedef struct _serial_s{
-       DBusGConnection *client_bus;
-       int client_socket;
-       int g_watch_id;
-       serial_event_s state_handler;
-       serial_event_s data_handler;
-       void *handle;
-}serial_s;
      typedef struct _serial_s {
+               DBusGConnection *client_bus;
+               int client_socket;
+               int g_watch_id;
+               serial_event_s state_handler;
+               serial_event_s data_handler;
+               void *handle;
+       } serial_s;
 
 /**
  * @internal
  * @brief dbus signal from socket server
  */
-typedef enum {
-       SERIAL_CLOSED,          /* Serial session closed */
-       SERIAL_OPENED,          /* Serial session opened */
-}serial_event_e;
-
+       typedef enum {
+               SERIAL_CLOSED,                  /* Serial session closed */
+               SERIAL_OPENED,                  /* Serial session opened */
+       } serial_event_e;
 
 #ifdef __cplusplus
 }
 #endif
-
-#endif /* __TIZEN_NETWORK_SERIAL_PRIVATE_H__ */
+#endif                                                 /* __TIZEN_NETWORK_SERIAL_PRIVATE_H__ */