aboutsummaryrefslogtreecommitdiffstats
path: root/channels/chan_nbs.c
diff options
context:
space:
mode:
authorkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2006-05-10 12:24:11 +0000
committerkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2006-05-10 12:24:11 +0000
commit91ad35ce5445a2f9c958968672338869bd4ce8a5 (patch)
tree503e8c1d20f6c0594ff9ceebe29a789bcc3ebc4b /channels/chan_nbs.c
parent8abb5a32f2e1226a24279c81b71cbd63456aad34 (diff)
ensure that control frames with payload can be sent to channel drivers via ->indicate()
update iax2_indicate to pass control frame payload to the connected channel add an API call for sending an indication with payload, and use it for control frames with payload git-svn-id: http://svn.digium.com/svn/asterisk/trunk@26417 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/chan_nbs.c')
-rw-r--r--channels/chan_nbs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/channels/chan_nbs.c b/channels/chan_nbs.c
index 37e290e77..fed8ee1ff 100644
--- a/channels/chan_nbs.c
+++ b/channels/chan_nbs.c
@@ -296,12 +296,12 @@ static int __unload_module(void)
return 0;
}
-int unload_module(void)
+static int unload_module(void)
{
return __unload_module();
}
-int load_module(void)
+static int load_module(void)
{
/* Make sure we can register our channel type */
if (ast_channel_register(&nbs_tech)) {