Bluetooth: GATT: Rename bt_gatt_unregister_service

Rename bt_gatt_unregister_service to bt_gatt_service_unregister to be
consistent with other APIs such as bt_gatt_service_register.

Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
This commit is contained in:
Luiz Augusto von Dentz 2017-06-19 20:00:35 +03:00 committed by Johan Hedberg
commit a6b37b072b
3 changed files with 3 additions and 3 deletions

View file

@ -293,7 +293,7 @@ int bt_gatt_service_register(struct bt_gatt_service *svc);
*
* @return 0 in case of success or negative value in case of error.
*/
int bt_gatt_unregister_service(struct bt_gatt_service *svc);
int bt_gatt_service_unregister(struct bt_gatt_service *svc);
enum {
BT_GATT_ITER_STOP = 0,