optional_api: Remove unused nonoptreq fields

As they're not actively used, they only grow stale. The moduleinfo field itself
is kept in Asterisk 13/15 for ABI compatibility.

ASTERISK-28046 #close

Change-Id: I8df66a7007f807840414bb348511a8c14c05a9fc
This commit is contained in:
Walter Doekes
2018-09-11 14:22:18 +02:00
parent c1a2c84361
commit 78453e65fd
4 changed files with 15 additions and 30 deletions

View File

@@ -40,8 +40,8 @@
/*!
* Wrapper of ast_test_validate_int() so an external function pointer is not used.
*
* \note Must do this because using an external function pointer
* does not play nicely when loading with RTLD_LAZY.
* \note We do this because using an external function pointer
* did not play nicely when we loaded with RTLD_LAZY.
*/
static int wrap_ast_ari_validate_int(struct ast_json *json)
{
@@ -53,8 +53,8 @@ static int wrap_ast_ari_validate_int(struct ast_json *json)
/*!
* Wrapper of ast_ari_validate_string() so an external function pointer is not used.
*
* \note Must do this because using an external function pointer
* does not play nicely when loading with RTLD_LAZY.
* \note We do this because using an external function pointer
* did not play nicely when we loaded with RTLD_LAZY.
*/
static int wrap_ast_ari_validate_string(struct ast_json *json)
{