Diff between e2d74dc8e943b7e62c2c099fe95caf66462b6b4c and 3b986a89e1eac2621292c8ff13b332b1cee399b3

Changed Files

File Additions Deletions Status
src/mgmt.c +1 -1 modified
src/mgmt.h +0 -1 modified

Full Patch

diff --git a/src/mgmt.c b/src/mgmt.c
index 39c6abf..1b6f02e 100644
--- a/src/mgmt.c
+++ b/src/mgmt.c
@@ -1096,7 +1096,7 @@ int mgmt_set_name(int index, const char *name)
 	return 0;
 }
 
-int mgmt_set_dev_class(int index, uint8_t major, uint8_t minor)
+static int mgmt_set_dev_class(int index, uint8_t major, uint8_t minor)
 {
 	char buf[MGMT_HDR_SIZE + sizeof(struct mgmt_cp_set_dev_class)];
 	struct mgmt_hdr *hdr = (void *) buf;
diff --git a/src/mgmt.h b/src/mgmt.h
index 17f2f49..0c46c61 100644
--- a/src/mgmt.h
+++ b/src/mgmt.h
@@ -30,7 +30,6 @@ int mgmt_set_connectable(int index, gboolean connectable);
 int mgmt_set_discoverable(int index, gboolean discoverable, uint16_t timeout);
 int mgmt_set_pairable(int index, gboolean pairable);
 int mgmt_set_name(int index, const char *name);
-int mgmt_set_dev_class(int index, uint8_t major, uint8_t minor);
 int mgmt_set_fast_connectable(int index, gboolean enable);
 
 int mgmt_start_discovery(int index);