Makefile.am: Make sure libcoap-3.{map|sym} sort is consistent

This commit is contained in:
Jon Shallow authored and Jon Shallow committed 2023-04-04 19:36:40 +01:00
1 parent 53615f5643
commit 5ae51b4ef1
3 files changed
+26 -26

No files matched your search

+2 -2
View File
@@ -262,14 +262,14 @@ update-map-file: libcoap-$(LIBCOAP_API_VERSION).map libcoap-$(LIBCOAP_API_VERSIO
libcoap-$(LIBCOAP_API_VERSION).map: check_ctags $(libcoap_include_HEADERS)
( echo "VER_$(LIBCOAP_API_VERSION) {" ; \
echo "global:" ; \
$(CTAGS_PROG) $(CTAGS_IGNORE) -f - --c-kinds=p $(libcoap_include_HEADERS) | awk '/^coap_/ { print " " $$1 ";" }' | sort -u ; \
$(CTAGS_PROG) $(CTAGS_IGNORE) -f - --c-kinds=p $(libcoap_include_HEADERS) | awk '/^coap_/ { print " " $$1 ";" }' | LC_ALL=C sort -u ; \
echo "local:" ; \
echo " *;" ; \
echo "};" ) > $(top_builddir)/$@.new
mv $(top_builddir)/$@.new $(top_builddir)/$@
libcoap-$(LIBCOAP_API_VERSION).sym: check_ctags $(libcoap_include_HEADERS)
( $(CTAGS_PROG) $(CTAGS_IGNORE) -f - --c-kinds=p $(libcoap_include_HEADERS) | awk '/^coap_/ { print $$1 }' | sort -u ) \
( $(CTAGS_PROG) $(CTAGS_IGNORE) -f - --c-kinds=p $(libcoap_include_HEADERS) | awk '/^coap_/ { print $$1 }' | LC_ALL=C sort -u ) \
> $(top_builddir)/$@.new
mv $(top_builddir)/$@.new $(top_builddir)/$@
+15 -15
View File
@@ -11,12 +11,12 @@ global:
coap_add_option;
coap_add_optlist_pdu;
coap_add_resource;
coap_add_token;
coap_address_equals;
coap_address_get_port;
coap_address_init;
coap_address_set_port;
coap_address_set_unix_domain;
coap_add_token;
coap_async_get_app_data;
coap_async_is_supported;
coap_async_set_app_data;
@@ -32,8 +32,8 @@ global:
coap_cache_get_pdu;
coap_cache_ignore_options;
coap_cache_set_app_data;
coap_cancel_observe;
coap_can_exit;
coap_cancel_observe;
coap_check_option;
coap_cleanup;
coap_clear_event_handler;
@@ -55,15 +55,15 @@ global:
coap_context_set_max_token_size;
coap_context_set_pki;
coap_context_set_pki_root_cas;
coap_context_set_psk;
coap_context_set_psk2;
coap_context_set_psk;
coap_context_set_session_timeout;
coap_debug_send_packet;
coap_debug_set_packet_loss;
coap_decode_var_bytes;
coap_decode_var_bytes8;
coap_delete_binary;
coap_decode_var_bytes;
coap_delete_bin_const;
coap_delete_binary;
coap_delete_cache_entry;
coap_delete_cache_key;
coap_delete_optlist;
@@ -81,8 +81,8 @@ global:
coap_dtls_psk_is_supported;
coap_dtls_rpk_is_supported;
coap_dtls_set_log_level;
coap_encode_var_safe;
coap_encode_var_safe8;
coap_encode_var_safe;
coap_endpoint_set_default_mtu;
coap_endpoint_str;
coap_find_async;
@@ -122,16 +122,16 @@ global:
coap_mcast_per_resource;
coap_mcast_set_hops;
coap_memory_init;
coap_new_binary;
coap_new_bin_const;
coap_new_binary;
coap_new_cache_entry;
coap_new_client_session;
coap_new_client_session_oscore;
coap_new_client_session_oscore_pki;
coap_new_client_session_oscore_psk;
coap_new_client_session_pki;
coap_new_client_session_psk;
coap_new_client_session_psk2;
coap_new_client_session_psk;
coap_new_context;
coap_new_endpoint;
coap_new_error_response;
@@ -146,17 +146,17 @@ global:
coap_opt_block_num;
coap_opt_encode;
coap_opt_encode_size;
coap_opt_length;
coap_opt_parse;
coap_opt_setheader;
coap_opt_size;
coap_opt_value;
coap_option_filter_clear;
coap_option_filter_get;
coap_option_filter_set;
coap_option_filter_unset;
coap_option_iterator_init;
coap_option_next;
coap_opt_length;
coap_opt_parse;
coap_opt_setheader;
coap_opt_size;
coap_opt_value;
coap_oscore_is_supported;
coap_package_build;
coap_package_name;
@@ -191,15 +191,15 @@ global:
coap_resource_get_userdata;
coap_resource_init;
coap_resource_notify_observers;
coap_resource_proxy_uri_init;
coap_resource_proxy_uri_init2;
coap_resource_proxy_uri_init;
coap_resource_release_userdata_handler;
coap_resource_set_dirty;
coap_resource_set_get_observable;
coap_resource_set_mode;
coap_resource_set_userdata;
coap_resource_unknown_init;
coap_resource_unknown_init2;
coap_resource_unknown_init;
coap_response_phrase;
coap_send;
coap_send_ack;
+9 -9
View File
@@ -9,12 +9,12 @@ coap_add_data_large_response
coap_add_option
coap_add_optlist_pdu
coap_add_resource
coap_add_token
coap_address_equals
coap_address_get_port
coap_address_init
coap_address_set_port
coap_address_set_unix_domain
coap_add_token
coap_async_get_app_data
coap_async_is_supported
coap_async_set_app_data
@@ -30,8 +30,8 @@ coap_cache_get_by_pdu
coap_cache_get_pdu
coap_cache_ignore_options
coap_cache_set_app_data
coap_cancel_observe
coap_can_exit
coap_cancel_observe
coap_check_option
coap_cleanup
coap_clear_event_handler
@@ -60,8 +60,8 @@ coap_debug_send_packet
coap_debug_set_packet_loss
coap_decode_var_bytes
coap_decode_var_bytes8
coap_delete_binary
coap_delete_bin_const
coap_delete_binary
coap_delete_cache_entry
coap_delete_cache_key
coap_delete_optlist
@@ -120,8 +120,8 @@ coap_malloc_type
coap_mcast_per_resource
coap_mcast_set_hops
coap_memory_init
coap_new_binary
coap_new_bin_const
coap_new_binary
coap_new_cache_entry
coap_new_client_session
coap_new_client_session_oscore
@@ -144,17 +144,17 @@ coap_new_uri
coap_opt_block_num
coap_opt_encode
coap_opt_encode_size
coap_opt_length
coap_opt_parse
coap_opt_setheader
coap_opt_size
coap_opt_value
coap_option_filter_clear
coap_option_filter_get
coap_option_filter_set
coap_option_filter_unset
coap_option_iterator_init
coap_option_next
coap_opt_length
coap_opt_parse
coap_opt_setheader
coap_opt_size
coap_opt_value
coap_oscore_is_supported
coap_package_build
coap_package_name