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:08:30 +02:00
parent 3fd1216083
commit d226458c5b
39 changed files with 11 additions and 45 deletions

View File

@@ -341,9 +341,8 @@ struct ast_module_info {
* on load. */
unsigned char load_pri;
/*! Modules which should be loaded first, in comma-separated string format.
* These are only required for loading, when the optional_api header file
* detects that the compiler does not support the optional API featureset. */
/*! Obsolete! This is not used since the optional_api portability rework.
* This field does nothing and will be removed in future version of Asterisk. */
const char *nonoptreq;
/*! The support level for the given module */
enum ast_module_support_level support_level;