Index: channels/chan_modem_bestdata.c =================================================================== RCS file: /usr/cvsroot/asterisk/channels/chan_modem_bestdata.c,v retrieving revision 1.13 diff -u -r1.13 chan_modem_bestdata.c --- channels/chan_modem_bestdata.c 2 Oct 2004 00:58:31 -0000 1.13 +++ channels/chan_modem_bestdata.c 25 Feb 2005 04:24:05 -0000 @@ -47,10 +47,10 @@ NULL }; -static int bestdata_startrec(struct ast_modem_pvt *p) -{ static int bestdata_break(struct ast_modem_pvt *p); +static int bestdata_startrec(struct ast_modem_pvt *p) +{ if (p->ministate != STATE_COMMAND) bestdata_break(p); if (ast_modem_send(p, "AT+VRX", 0) || ast_modem_expect(p, "CONNECT", 5)) { @@ -63,8 +63,6 @@ static int bestdata_startplay(struct ast_modem_pvt *p) { -static int bestdata_break(struct ast_modem_pvt *p); - if (p->ministate != STATE_COMMAND) bestdata_break(p); if (ast_modem_send(p, "AT+VTX", 0) || ast_modem_expect(p, "CONNECT", 5)) { Index: channels/chan_zap.c =================================================================== RCS file: /usr/cvsroot/asterisk/channels/chan_zap.c,v retrieving revision 1.408 diff -u -r1.408 chan_zap.c --- channels/chan_zap.c 10 Feb 2005 17:40:06 -0000 1.408 +++ channels/chan_zap.c 25 Feb 2005 04:24:05 -0000 @@ -751,6 +751,8 @@ #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 @@ { 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;