From 15a9f8c467c782ff29f2864f031833e2a517f0d1 Mon Sep 17 00:00:00 2001 From: Taesoo Jun Date: Tue, 12 Sep 2017 18:03:27 +0900 Subject: [PATCH] [Fix] Coding Rule - include/serial_private.h Change-Id: I541cf13ab9f464bf6b31fd35932828dda102202e --- include/serial_private.h | 39 +++++++++++++++++---------------------- 1 file changed, 17 insertions(+), 22 deletions(-) diff --git a/include/serial_private.h b/include/serial_private.h index 3b63b50..2e5c88f 100644 --- a/include/serial_private.h +++ b/include/serial_private.h @@ -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__ */ -- 2.7.4