From 8bdd4afaa9a7a645deaab9e1ee887e3cb68eb286 Mon Sep 17 00:00:00 2001 From: Jon Shallow Date: Tue, 20 Oct 2020 15:18:50 +0100 Subject: [PATCH] Update libcoap.{map|sym} files Missed from commit 605f990e. Also fixes a compiler warning now that coap_opt_length() returns uin32_t. --- examples/etsi_iot_01.c | 2 +- libcoap-2.map | 2 -- libcoap-2.sym | 2 -- 3 files changed, 1 insertion(+), 5 deletions(-) diff --git a/examples/etsi_iot_01.c b/examples/etsi_iot_01.c index 8b5302b0..6aae3582 100644 --- a/examples/etsi_iot_01.c +++ b/examples/etsi_iot_01.c @@ -391,7 +391,7 @@ hnd_get_separate(coap_context_t *ctx, while ((option = coap_option_next(&opt_iter))) { if (strncmp("delay=", (const char *)coap_opt_value(option), 6) == 0) { - int i; + unsigned int i; unsigned long d = 0; for (i = 6; i < coap_opt_length(option); ++i) diff --git a/libcoap-2.map b/libcoap-2.map index 52bb00c4..7c9daab5 100644 --- a/libcoap-2.map +++ b/libcoap-2.map @@ -88,7 +88,6 @@ global: coap_handle_failed_notify; coap_hash_impl; coap_insert_node; - coap_insert_option; coap_insert_optlist; coap_io_do_epoll; coap_io_do_io; @@ -123,7 +122,6 @@ global: coap_new_string; coap_new_uri; coap_opt_block_num; - coap_opt_delta; coap_opt_encode; coap_opt_encode_size; coap_option_check_critical; diff --git a/libcoap-2.sym b/libcoap-2.sym index a8d2fa1e..c479219b 100644 --- a/libcoap-2.sym +++ b/libcoap-2.sym @@ -86,7 +86,6 @@ coap_handle_event coap_handle_failed_notify coap_hash_impl coap_insert_node -coap_insert_option coap_insert_optlist coap_io_do_epoll coap_io_do_io @@ -121,7 +120,6 @@ coap_new_str_const coap_new_string coap_new_uri coap_opt_block_num -coap_opt_delta coap_opt_encode coap_opt_encode_size coap_option_check_critical