aboutsummaryrefslogtreecommitdiffstats
path: root/channels/chan_zap.c
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2005-02-25 17:32:37 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2005-02-25 17:32:37 +0000
commita42d22bd950315e10ab2b1b96e6c952a895576a7 (patch)
tree7f98aef7dace2139b216e1fa9c24739f1a7a7cfa /channels/chan_zap.c
parent2a25e6cfb6e5b122e2872f15ebc3d7c06f2393c5 (diff)
Fix GCC 4.0 build (bug #3662)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5076 f38db490-d61c-443f-a65b-d21fe96a405b
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;