summaryrefslogtreecommitdiff
path: root/monitor/sdp.c
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2017-12-19 10:21:59 -0200
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2017-12-21 10:08:22 -0200
commit7a03b61ee82e2c3253add826e20586341e210728 (patch)
tree9206ae1dca1e00978d7addfc83ec0eaefb6c9334 /monitor/sdp.c
parent709bcef1faf43784493ee69fbb89747656de2a14 (diff)
downloadbluez-7a03b61ee82e2c3253add826e20586341e210728.tar.gz
tools: Remove monitor/uuid.{c,h}
Use the shared/util.h helpers instead.
Diffstat (limited to 'monitor/sdp.c')
-rw-r--r--monitor/sdp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/monitor/sdp.c b/monitor/sdp.c
index 417a21c7b..f3a67457e 100644
--- a/monitor/sdp.c
+++ b/monitor/sdp.c
@@ -115,11 +115,11 @@ static void print_uuid(uint8_t indent, const uint8_t *data, uint32_t size)
switch (size) {
case 2:
print_field("%*c%s (0x%4.4x)", indent, ' ',
- uuid16_to_str(get_be16(data)), get_be16(data));
+ bt_uuid16_to_str(get_be16(data)), get_be16(data));
break;
case 4:
print_field("%*c%s (0x%8.8x)", indent, ' ',
- uuid32_to_str(get_be32(data)), get_be32(data));
+ bt_uuid32_to_str(get_be32(data)), get_be32(data));
break;
case 16:
/* BASE_UUID = 00000000-0000-1000-8000-00805F9B34FB */
@@ -134,7 +134,7 @@ static void print_uuid(uint8_t indent, const uint8_t *data, uint32_t size)
get_be16(data + 10) == 0x0080 &&
get_be32(data + 12) == 0x5F9B34FB)
print_field("%*c%s", indent, ' ',
- uuid32_to_str(get_be32(data)));
+ bt_uuid32_to_str(get_be32(data)));
break;
default:
packet_hexdump(data, size);