remove some more local declarations of null frames

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9004 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Russell Bryant
2006-01-31 17:57:12 +00:00
parent e01861fafd
commit a228af1dd9
4 changed files with 7 additions and 14 deletions

View File

@@ -224,9 +224,7 @@ static void check_bridge(struct local_pvt *p, int isoutbound)
static struct ast_frame *local_read(struct ast_channel *ast)
{
static struct ast_frame null = { AST_FRAME_NULL, };
return &null;
return &ast_null_frame;
}
static int local_write(struct ast_channel *ast, struct ast_frame *f)