From b15c86bbe170de7f71cead6e5b1a4833bf9d5da4 Mon Sep 17 00:00:00 2001 From: DoHyun Pyun Date: Tue, 6 Dec 2016 17:26:06 +0900 Subject: [PATCH] Fix the coding style errors Change-Id: Id412beec846ea48fae393f96c923a953672b1523 Signed-off-by: DoHyun Pyun --- include/mobile/bluetooth_type_internal.h | 4 ++-- include/tv/bluetooth_type_internal.h | 4 ++-- include/wearable/bluetooth_type_internal.h | 4 ++-- src/bluetooth-proximity.c | 20 ++++++++++---------- 4 files changed, 16 insertions(+), 16 deletions(-) diff --git a/include/mobile/bluetooth_type_internal.h b/include/mobile/bluetooth_type_internal.h index 94cc3c2..f9c5686 100644 --- a/include/mobile/bluetooth_type_internal.h +++ b/include/mobile/bluetooth_type_internal.h @@ -626,8 +626,8 @@ typedef void (*bt_adapter_authentication_req_cb)(int result, bt_authentication_t * @since_tizen 2.3.2 */ typedef struct { - int app_id; /**< The application ID */ - char *message; /**< Command message */ + int app_id; /**< The application ID */ + char *message; /**< Command message */ } bt_hf_vendor_dep_at_cmd_s; /** diff --git a/include/tv/bluetooth_type_internal.h b/include/tv/bluetooth_type_internal.h index d3cfe68..a850667 100644 --- a/include/tv/bluetooth_type_internal.h +++ b/include/tv/bluetooth_type_internal.h @@ -626,8 +626,8 @@ typedef void (*bt_adapter_authentication_req_cb)(int result, bt_authentication_t * @since_tizen 2.3.2 */ typedef struct { - int app_id; /**< The application ID */ - char *message; /**< Command message */ + int app_id; /**< The application ID */ + char *message; /**< Command message */ } bt_hf_vendor_dep_at_cmd_s; /** diff --git a/include/wearable/bluetooth_type_internal.h b/include/wearable/bluetooth_type_internal.h index 15efec8..2fa330b 100644 --- a/include/wearable/bluetooth_type_internal.h +++ b/include/wearable/bluetooth_type_internal.h @@ -638,8 +638,8 @@ typedef void (*bt_adapter_authentication_req_cb)(int result, bt_authentication_t * @since_tizen 2.3.2 */ typedef struct { - int app_id; /**< The application ID */ - char *message; /**< Command message */ + int app_id; /**< The application ID */ + char *message; /**< Command message */ } bt_hf_vendor_dep_at_cmd_s; /** diff --git a/src/bluetooth-proximity.c b/src/bluetooth-proximity.c index b1bb44c..d4f1700 100644 --- a/src/bluetooth-proximity.c +++ b/src/bluetooth-proximity.c @@ -283,7 +283,7 @@ int bt_proximity_monitor_destroy(bt_proximity_monitor_h monitor) BT_CHECK_INIT_STATUS(); BT_CHECK_INPUT_PARAMETER(monitor); /* LCOV_EXCL_START */ - if(_bt_proximity_minotr_find(monitor_s->remote_address) == NULL) + if (_bt_proximity_minotr_find(monitor_s->remote_address) == NULL) return BT_ERROR_REMOTE_DEVICE_NOT_CONNECTED; if (monitor_s->connection_callback) { @@ -308,7 +308,7 @@ int bt_proximity_monitor_connect(bt_proximity_monitor_h monitor) BT_CHECK_INIT_STATUS(); BT_CHECK_INPUT_PARAMETER(monitor_s); - if(_bt_proximity_minotr_find(monitor_s->remote_address) == NULL) + if (_bt_proximity_minotr_find(monitor_s->remote_address) == NULL) return BT_ERROR_REMOTE_DEVICE_NOT_CONNECTED; error_code = bt_gatt_connect(monitor_s->remote_address, FALSE); @@ -328,7 +328,7 @@ int bt_proximity_monitor_disconnect(bt_proximity_monitor_h monitor) BT_CHECK_INIT_STATUS(); BT_CHECK_INPUT_PARAMETER(monitor_s); - if(_bt_proximity_minotr_find(monitor_s->remote_address) == NULL) + if (_bt_proximity_minotr_find(monitor_s->remote_address) == NULL) return BT_ERROR_REMOTE_DEVICE_NOT_CONNECTED; error_code = bt_gatt_disconnect(monitor_s->remote_address); @@ -349,7 +349,7 @@ int bt_proximity_monitor_set_connection_state_changed_cb(bt_proximity_monitor_h BT_CHECK_INPUT_PARAMETER(monitor_s); BT_CHECK_INPUT_PARAMETER(callback); - if(_bt_proximity_minotr_find(monitor_s->remote_address) == NULL) + if (_bt_proximity_minotr_find(monitor_s->remote_address) == NULL) return BT_ERROR_REMOTE_DEVICE_NOT_CONNECTED; /* register the callback */ @@ -370,7 +370,7 @@ int bt_proximity_monitor_unset_connection_state_changed_cb(bt_proximity_monitor_ BT_CHECK_INIT_STATUS(); BT_CHECK_INPUT_PARAMETER(monitor_s); - if(_bt_proximity_minotr_find(monitor_s->remote_address) == NULL) + if (_bt_proximity_minotr_find(monitor_s->remote_address) == NULL) return BT_ERROR_REMOTE_DEVICE_NOT_CONNECTED; /* unregister the callback */ @@ -455,7 +455,7 @@ int bt_proximity_monitor_set_linkloss_alert(bt_proximity_monitor_h monitor, int BT_CHECK_INIT_STATUS(); BT_CHECK_INPUT_PARAMETER(monitor); /* LCOV_EXCL_LINE */ - if(_bt_proximity_minotr_find(monitor_s->remote_address) == NULL) + if (_bt_proximity_minotr_find(monitor_s->remote_address) == NULL) return BT_ERROR_REMOTE_DEVICE_NOT_CONNECTED; if (!(pxp_monitor_supported_services & BT_PROXIMITY_LINKLOSS_ALERT)) @@ -481,7 +481,7 @@ int bt_proximity_monitor_set_immediate_alert(bt_proximity_monitor_h monitor, int BT_CHECK_INIT_STATUS(); BT_CHECK_INPUT_PARAMETER(monitor); /* LCOV_EXCL_LINE */ - if(_bt_proximity_minotr_find(monitor_s->remote_address) == NULL) + if (_bt_proximity_minotr_find(monitor_s->remote_address) == NULL) return BT_ERROR_REMOTE_DEVICE_NOT_CONNECTED; if (!(pxp_monitor_supported_services & BT_PROXIMITY_IMMEDIATE_ALERT)) @@ -507,7 +507,7 @@ int bt_proximity_monitor_get_linkloss_alert(bt_proximity_monitor_h monitor, int BT_CHECK_INIT_STATUS(); BT_CHECK_INPUT_PARAMETER(monitor); /* LCOV_EXCL_LINE */ - if(_bt_proximity_minotr_find(monitor_s->remote_address) == NULL) + if (_bt_proximity_minotr_find(monitor_s->remote_address) == NULL) return BT_ERROR_REMOTE_DEVICE_NOT_CONNECTED; if (!(pxp_monitor_supported_services & BT_PROXIMITY_LINKLOSS_ALERT)) @@ -534,7 +534,7 @@ int bt_proximity_monitor_get_immediate_alert(bt_proximity_monitor_h monitor, int BT_CHECK_INIT_STATUS(); BT_CHECK_INPUT_PARAMETER(monitor); /* LCOV_EXCL_LINE */ - if(_bt_proximity_minotr_find(monitor_s->remote_address) == NULL) + if (_bt_proximity_minotr_find(monitor_s->remote_address) == NULL) return BT_ERROR_REMOTE_DEVICE_NOT_CONNECTED; if (!(pxp_monitor_supported_services & BT_PROXIMITY_IMMEDIATE_ALERT)) @@ -561,7 +561,7 @@ int bt_proximity_monitor_get_signal_level(bt_proximity_monitor_h monitor, int *v BT_CHECK_INIT_STATUS(); BT_CHECK_INPUT_PARAMETER(monitor); /* LCOV_EXCL_LINE */ - if(_bt_proximity_minotr_find(monitor_s->remote_address) == NULL) + if (_bt_proximity_minotr_find(monitor_s->remote_address) == NULL) return BT_ERROR_REMOTE_DEVICE_NOT_CONNECTED; if (!(pxp_monitor_supported_services & BT_PROXIMITY_TX_POWER)) -- 2.34.1