mirror of
https://git.kernel.org/pub/scm/bluetooth/bluez.git
synced 2024-11-26 21:54:33 +08:00
android/socket: Move statics declarations after types definitions
This also makes connections list static.
This commit is contained in:
parent
70bc1db7a2
commit
e323df9475
@ -60,14 +60,6 @@
|
||||
#define MAP_MSG_TYPE_SMS_CDMA 0x04
|
||||
#define DEFAULT_MAS_MSG_TYPE (MAP_MSG_TYPE_SMS_GSM | MAP_MSG_TYPE_SMS_CDMA)
|
||||
|
||||
|
||||
static bdaddr_t adapter_addr;
|
||||
|
||||
static const uint8_t zero_uuid[16] = { 0 };
|
||||
|
||||
/* Simple list of RFCOMM connected sockets */
|
||||
GList *connections = NULL;
|
||||
|
||||
struct rfcomm_sock {
|
||||
int channel; /* RFCOMM channel */
|
||||
BtIOSecLevel sec_level;
|
||||
@ -92,6 +84,13 @@ struct rfcomm_channel {
|
||||
struct rfcomm_sock *rfsock;
|
||||
};
|
||||
|
||||
static bdaddr_t adapter_addr;
|
||||
|
||||
static const uint8_t zero_uuid[16] = { 0 };
|
||||
|
||||
/* Simple list of RFCOMM connected sockets */
|
||||
static GList *connections = NULL;
|
||||
|
||||
static struct rfcomm_channel servers[RFCOMM_CHANNEL_MAX + 1];
|
||||
|
||||
static int rfsock_set_buffer(struct rfcomm_sock *rfsock)
|
||||
|
Loading…
Reference in New Issue
Block a user