summaryrefslogtreecommitdiff
path: root/channels/chan_features.c
diff options
context:
space:
mode:
authorKevin P. Fleming <kpfleming@digium.com>2005-04-21 06:30:23 +0000
committerKevin P. Fleming <kpfleming@digium.com>2005-04-21 06:30:23 +0000
commita729a57ba121061fd42f5dd4f557ed1f18d6dc99 (patch)
tree32ef323c5510fa3321c859182f59030f2c675829 /channels/chan_features.c
parent1f9ab2380a4543526bbd20e0fa754de95747c77e (diff)
fix various compiler warnings
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5491 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels/chan_features.c')
-rwxr-xr-xchannels/chan_features.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/channels/chan_features.c b/channels/chan_features.c
index 8db531d3c..9a6b4412a 100755
--- a/channels/chan_features.c
+++ b/channels/chan_features.c
@@ -123,6 +123,7 @@ static inline int indexof(struct feature_pvt *p, struct ast_channel *owner, int
return -1;
}
+#if 0
static void wakeup_sub(struct feature_pvt *p, int a)
{
struct ast_frame null = { AST_FRAME_NULL, };
@@ -141,6 +142,7 @@ static void wakeup_sub(struct feature_pvt *p, int a)
break;
}
}
+#endif
static void restore_channel(struct feature_pvt *p, int index)
{
@@ -180,6 +182,7 @@ static void update_features(struct feature_pvt *p, int index)
}
}
+#if 0
static void swap_subs(struct feature_pvt *p, int a, int b)
{
int tinthreeway;
@@ -200,6 +203,7 @@ static void swap_subs(struct feature_pvt *p, int a, int b)
wakeup_sub(p, a);
wakeup_sub(p, b);
}
+#endif
static int features_answer(struct ast_channel *ast)
{