From 326d212791a972a947ea977c5aa64124fffb5304 Mon Sep 17 00:00:00 2001 From: Szymon Janc Date: Tue, 21 Jan 2014 15:19:43 +0100 Subject: [PATCH] android/bluetooth: Move option_index declaration to close other static Don't intermix defines with static variables. --- android/bluetooth.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/android/bluetooth.c b/android/bluetooth.c index 55fd7194a..4849dabc6 100644 --- a/android/bluetooth.c +++ b/android/bluetooth.c @@ -70,8 +70,6 @@ #define BASELEN_PROP_CHANGED (sizeof(struct hal_ev_adapter_props_changed) \ + (sizeof(struct hal_property))) -static uint16_t option_index = MGMT_INDEX_NONE; - #define BASELEN_REMOTE_DEV_PROP (sizeof(struct hal_ev_remote_device_props) \ + sizeof(struct hal_property)) @@ -132,6 +130,7 @@ static const uint16_t uuid_list[] = { 0 }; +static uint16_t option_index = MGMT_INDEX_NONE; static struct mgmt *mgmt_if = NULL; static GSList *devices = NULL; -- 2.47.3