build: Fix LOG_TAG define breakage, macro usage
Fixes build breakages related to r.android.com/156982
Change-Id: Ib1143c41fe05a17c296226998afdb41a8cb6294a
diff --git a/btif/src/btif_sock.c b/btif/src/btif_sock.c
index 346e2d6..4ffbb45 100644
--- a/btif/src/btif_sock.c
+++ b/btif/src/btif_sock.c
@@ -16,6 +16,8 @@
*
******************************************************************************/
+#define LOG_TAG "bt_btif_sock"
+
#include <assert.h>
#include <hardware/bluetooth.h>
@@ -31,8 +33,6 @@
#include "btif_util.h"
#include "osi/include/thread.h"
-#define LOG_TAG "bt_btif_sock"
-
static bt_status_t btsock_listen(btsock_type_t type, const char *service_name, const uint8_t *uuid, int channel, int *sock_fd, int flags);
static bt_status_t btsock_connect(const bt_bdaddr_t *bd_addr, btsock_type_t type, const uint8_t *uuid, int channel, int *sock_fd, int flags);