summaryrefslogtreecommitdiff
path: root/main/features.c
diff options
context:
space:
mode:
authorCorey Farrell <git@cfware.com>2015-05-02 19:58:40 -0400
committerCorey Farrell <git@cfware.com>2015-05-02 20:25:11 -0400
commitad6ea2969706c1d19290d2db32957830e73a75ae (patch)
tree97ddf21a82040c5a6321de692f796921b77ffb08 /main/features.c
parent9888562c8ce7ff0102309361aa26aad819d5ddb3 (diff)
Remove unneeded uses of optional_api providers.
A few cases exist where headers of optional_api provders are included but not needed. This causes unneeded calls to ast_optional_api_use. * Don't include optional_api.h from sip_api.h. * Move 'struct ast_channel_monitor' to channel.h. * Don't include monitor.h from chan_sip.c, channel.c or features.c. The move of struct ast_channel_monitor is needed since channel.c depends on it. This has no effect on users of monitor.h since channel.h is included from monitor.h. ASTERISK-25051 #close Reported by: Corey Farrell Change-Id: I53ea65a9fc9693c89f8bcfd6120649bfcfbc3478
Diffstat (limited to 'main/features.c')
-rw-r--r--main/features.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/main/features.c b/main/features.c
index 2f0438692..1810b1556 100644
--- a/main/features.c
+++ b/main/features.c
@@ -66,7 +66,6 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include "asterisk/utils.h"
#include "asterisk/adsi.h"
#include "asterisk/devicestate.h"
-#include "asterisk/monitor.h"
#include "asterisk/audiohook.h"
#include "asterisk/global_datastores.h"
#include "asterisk/astobj2.h"