diff options
author | Corey Farrell <git@cfware.com> | 2018-01-18 10:01:26 -0500 |
---|---|---|
committer | Corey Farrell <git@cfware.com> | 2018-01-22 12:16:58 -0500 |
commit | 679fa5fb3445870ad29953c606ab5e26f44e4e22 (patch) | |
tree | d038fd656eed6ded929b9e6f71527debd8f32019 /res/res_pjsip | |
parent | 908e39f186b20be766df57013a65d6ccf31632df (diff) |
Add missing OPTIONAL_API and ARI dependences.
I've audited all modules that include any header which includes
asterisk/optional_api.h. All modules which use OPTIONAL_API now declare
those dependencies in AST_MODULE_INFO using requires or optional_modules
as appropriate.
In addition ARI dependency declarations have been reworked. Instead of
declaring additional required modules in res/ari/resource_*.c we now add
them to an optional array "requiresModules" in api-docs for each module.
This allows the AST_MODULE_INFO dependencies to include those missing
modules.
Change-Id: Ia0c70571f5566784f63605e78e1ceccb4f79c606
Diffstat (limited to 'res/res_pjsip')
-rw-r--r-- | res/res_pjsip/config_transport.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/res/res_pjsip/config_transport.c b/res/res_pjsip/config_transport.c index 63bf11812..713ab024b 100644 --- a/res/res_pjsip/config_transport.c +++ b/res/res_pjsip/config_transport.c @@ -30,6 +30,7 @@ #include "asterisk/acl.h" #include "asterisk/utils.h" #include "include/res_pjsip_private.h" +/* We're only using a #define from http_websocket.h, no OPTIONAL_API symbols are used. */ #include "asterisk/http_websocket.h" #define MAX_POINTER_STRING 33 |