|
|
@@ -951,7 +951,7 @@ static bool create_base_record(const uint32_t sdp_handle, const char *name, cons
|
|
|
proto_list[2].num_params = 0;
|
|
|
}
|
|
|
|
|
|
- char *stage = "protocol_list";
|
|
|
+ const char *stage = "protocol_list";
|
|
|
if (!SDP_AddProtocolList(sdp_handle, num_proto_elements, proto_list)){
|
|
|
APPL_TRACE_ERROR("create_base_record: failed to create base service "
|
|
|
"record, stage: %s, scn: %d, name: %s, with_obex: %d",
|
|
|
@@ -1000,7 +1000,7 @@ static int add_spp_sdp(const char *name, const int channel) {
|
|
|
}
|
|
|
|
|
|
// Create the base SDP record.
|
|
|
- char *stage = "create_base_record";
|
|
|
+ const char *stage = "create_base_record";
|
|
|
if (!create_base_record(handle, name, channel, FALSE /* with_obex */)){
|
|
|
SDP_DeleteRecord(handle);
|
|
|
APPL_TRACE_ERROR("add_spp_sdp: failed to register SPP service, "
|
|
|
@@ -2769,4 +2769,4 @@ extern void bta_jv_l2cap_close_fixed (tBTA_JV_MSG *p_data)
|
|
|
}
|
|
|
|
|
|
|
|
|
-#endif ///defined BTA_JV_INCLUDED && BTA_JV_INCLUDED == TRUE
|
|
|
+#endif ///defined BTA_JV_INCLUDED && BTA_JV_INCLUDED == TRUE
|