aboutsummaryrefslogtreecommitdiff
path: root/health
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2010-10-22 11:42:11 -0200
committerJohan Hedberg <johan.hedberg@nokia.com>2010-10-22 11:42:51 -0200
commit5ff302b070e42138a306318319bcd881aa423127 (patch)
tree16491eea14c5dcce21eb6a4e32c9a34853a41b0a /health
parent230410365ef1fe0af1a79bae42f606f60447e346 (diff)
downloadbluez-5ff302b070e42138a306318319bcd881aa423127.tar.gz
Fix minor coding style issue with variable declarations
Diffstat (limited to 'health')
-rw-r--r--health/hdp_util.c15
1 files changed, 5 insertions, 10 deletions
diff --git a/health/hdp_util.c b/health/hdp_util.c
index 1fd8d118..b0399f8c 100644
--- a/health/hdp_util.c
+++ b/health/hdp_util.c
@@ -351,12 +351,9 @@ static gboolean register_service_protocols(struct hdp_adapter *adapter,
{
gboolean ret;
uuid_t l2cap_uuid, mcap_c_uuid;
- sdp_list_t *l2cap_list,
- *proto_list = NULL,
- *mcap_list = NULL,
- *access_proto_list = NULL;
- sdp_data_t *psm = NULL,
- *mcap_ver = NULL;
+ sdp_list_t *l2cap_list, *proto_list = NULL, *mcap_list = NULL;
+ sdp_list_t *access_proto_list = NULL;
+ sdp_data_t *psm = NULL, *mcap_ver = NULL;
uint16_t version = MCAP_VERSION;
/* set l2cap information */
@@ -468,10 +465,8 @@ static gboolean register_service_aditional_protocols(
{
gboolean ret;
uuid_t l2cap_uuid, mcap_d_uuid;
- sdp_list_t *l2cap_list,
- *proto_list = NULL,
- *mcap_list = NULL,
- *access_proto_list = NULL;
+ sdp_list_t *l2cap_list, *proto_list = NULL, *mcap_list = NULL;
+ sdp_list_t *access_proto_list = NULL;
sdp_data_t *psm = NULL;
/* set l2cap information */