aboutsummaryrefslogtreecommitdiffstats
path: root/channels/chan_zap.c
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2006-01-31 17:57:12 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2006-01-31 17:57:12 +0000
commitbd5352e51f686f95ac55e69036bee97e87cf5bf2 (patch)
treed49a2c760c9f41aac663fb267bebb628f44c6138 /channels/chan_zap.c
parentb55d2bd3eaca8d5775ab0e8db5b85fa3f1066ce1 (diff)
remove some more local declarations of null frames
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9004 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/chan_zap.c')
-rw-r--r--channels/chan_zap.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/channels/chan_zap.c b/channels/chan_zap.c
index 90f0801a7..fc44bd4f6 100644
--- a/channels/chan_zap.c
+++ b/channels/chan_zap.c
@@ -808,7 +808,6 @@ static void wakeup_sub(struct zt_pvt *p, int a, struct zt_pri *pri)
static void wakeup_sub(struct zt_pvt *p, int a, void *pri)
#endif
{
- struct ast_frame null = { AST_FRAME_NULL, };
#ifdef ZAPATA_PRI
if (pri)
ast_mutex_unlock(&pri->lock);
@@ -820,7 +819,7 @@ static void wakeup_sub(struct zt_pvt *p, int a, void *pri)
usleep(1);
ast_mutex_lock(&p->lock);
} else {
- ast_queue_frame(p->subs[a].owner, &null);
+ ast_queue_frame(p->subs[a].owner, &ast_null_frame);
ast_mutex_unlock(&p->subs[a].owner->lock);
break;
}