summaryrefslogtreecommitdiff
path: root/include/asterisk/channel.h
diff options
context:
space:
mode:
authorCorey Farrell <git@cfware.com>2017-03-30 19:28:18 -0400
committerCorey Farrell <git@cfware.com>2017-03-30 22:59:47 -0500
commit56f9193e6bd72b7149b279b949c174aee812d8bf (patch)
tree1843c43693f73cc8e87ea90021b6decc878d382b /include/asterisk/channel.h
parenta53c22e181cbf65be675c7e284be9b09b01b59f6 (diff)
Forward declare 'struct ast_json' in asterisk.h
The ast_json structure is used in many Asterisk headers and is often the only part of json.h used. This adds a forward declaration to asterisk.h and removes the include of json.h from many headers. The declaration has been left in endpoints.h and stasis.h to avoid problems with source files that use ast_json functions without directly including json.h. ari.h continues to include json.h as it uses enum ast_json_encoding_format. Change-Id: Id766aabce6bed56626d27e8d29f559b5e687b769
Diffstat (limited to 'include/asterisk/channel.h')
-rw-r--r--include/asterisk/channel.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/asterisk/channel.h b/include/asterisk/channel.h
index a57a0b4cb..a2c42775a 100644
--- a/include/asterisk/channel.h
+++ b/include/asterisk/channel.h
@@ -178,7 +178,6 @@ extern "C" {
#include "asterisk/ccss.h"
#include "asterisk/framehook.h"
#include "asterisk/stasis.h"
-#include "asterisk/json.h"
#include "asterisk/endpoints.h"
#define DATASTORE_INHERIT_FOREVER INT_MAX