aboutsummaryrefslogtreecommitdiffstats
path: root/channels/chan_zap.c
diff options
context:
space:
mode:
Diffstat (limited to 'channels/chan_zap.c')
-rwxr-xr-xchannels/chan_zap.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/channels/chan_zap.c b/channels/chan_zap.c
index 7ad5b276a..835eb9472 100755
--- a/channels/chan_zap.c
+++ b/channels/chan_zap.c
@@ -751,6 +751,8 @@ static void zap_queue_frame(struct zt_pvt *p, struct ast_frame *f, void *pri)
#endif
}
+static int restore_gains(struct zt_pvt *p);
+
static void swap_subs(struct zt_pvt *p, int a, int b)
{
int tchan;
@@ -1983,7 +1985,7 @@ static int zt_hangup(struct ast_channel *ast)
{
int res;
int index,x, law;
- static int restore_gains(struct zt_pvt *p);
+ /*static int restore_gains(struct zt_pvt *p);*/
struct zt_pvt *p = ast->pvt->pvt;
struct zt_pvt *tmp = NULL;
struct zt_pvt *prev = NULL;