]> git.ipfire.org Git - thirdparty/asterisk.git/commit
astobj2: Eliminate usage of legacy container allocation macros.
authorCorey Farrell <git@cfware.com>
Tue, 16 Oct 2018 19:00:27 +0000 (15:00 -0400)
committerCorey Farrell <git@cfware.com>
Fri, 19 Oct 2018 21:32:58 +0000 (17:32 -0400)
commit54a1fbe428ce9a812992759af86a8d6917edf74a
treea88b923e61b0fdac02719b6500252bdce6819956
parentb7cb2c90e679454c1ccc6c93c07e18d2f09aebfd
astobj2: Eliminate usage of legacy container allocation macros.

These macros have been documented as legacy for a long time but are
still used in new code because they exist.  Remove all references to:
* ao2_container_alloc_options
* ao2_t_container_alloc_options
* ao2_t_container_alloc

These macro's are still available for use but only in modules.  Only
ao2_container_alloc remains due to it's use in over 100 places.

Change-Id: I1a26258b5bf3deb081aaeed11a0baa175c933c7a
19 files changed:
channels/chan_sip.c
include/asterisk/astobj2.h
main/bridge.c
main/bucket.c
main/ccss.c
main/channel.c
main/codec.c
main/features_config.c
main/format.c
main/format_cache.c
main/pbx.c
main/pickup.c
main/sorcery.c
res/res_musiconhold.c
res/res_pjsip_notify.c
res/res_pjsip_outbound_publish.c
res/res_sorcery_memory_cache.c
res/res_srtp.c
tests/test_astobj2.c