From 3b986a89e1eac2621292c8ff13b332b1cee399b3 Mon Sep 17 00:00:00 2001 From: Johan Hedberg Date: Fri, 4 Jan 2013 14:34:17 +0200 Subject: [PATCH] core: Make mgmt_set_dev_class static to mgmt.c --- src/mgmt.c | 2 +- src/mgmt.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/mgmt.c b/src/mgmt.c index 39c6abf62..1b6f02e7c 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 17f2f492a..0c46c618a 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); -- 2.47.3