fix various compiler warnings

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5491 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Kevin P. Fleming
2005-04-21 06:30:23 +00:00
parent 1f9ab2380a
commit a729a57ba1
11 changed files with 25 additions and 22 deletions

View File

@@ -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)
{