diff options
author | Corey Farrell <git@cfware.com> | 2015-04-13 07:19:14 -0400 |
---|---|---|
committer | Corey Farrell <git@cfware.com> | 2015-04-13 07:27:40 -0400 |
commit | 0e4b997cd7b1efe42aec900778efee46b7040365 (patch) | |
tree | c92a7b0caf5c8e4eaac304a924e3ade1492e3ff5 | |
parent | 91c1ed7ef642c168cb9c71926aef14b5bd8c5d9e (diff) |
res_monitor: Add dependency on func_periodic_hook.
OPTIONAL_API has conditionals to define AST_OPTIONAL_API and
AST_OPTIONAL_API_ATTR differently based on if AST_API_MODULE is defined.
Unfortunately this is inside the include protection block, so only the
first status of AST_API_MODULE is respected. For example res_monitor
is an optional API provider, but uses func_periodic_hook. This makes
func_periodic_hook non-optional to res_monitor.
ASTERISK-17608 #close
Reported by: Warren Selby
Change-Id: I8fcf2a5e7b481893e17484ecde4f172c9ffb5679
-rw-r--r-- | res/res_monitor.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/res/res_monitor.c b/res/res_monitor.c index 872f565f0..ebf98439c 100644 --- a/res/res_monitor.c +++ b/res/res_monitor.c @@ -24,6 +24,7 @@ */ /*** MODULEINFO + <depend type="module">func_periodic_hook</depend> <support_level>core</support_level> ***/ |