From b6fd23d96602e77c3cd9ce0822358cda7a00e077 Mon Sep 17 00:00:00 2001
From: Mark Spencer <markster@digium.com>
Date: Thu, 31 Mar 2005 19:07:27 +0000
Subject: [PATCH] Fix build without zaptel (bug #3901)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5320 65c4cc65-6c06-0410-ace0-fbb531ad65f3
---
 channel.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/channel.c b/channel.c
index 64b8184aaa..e621aec5e1 100755
--- a/channel.c
+++ b/channel.c
@@ -1282,11 +1282,11 @@ struct ast_frame *ast_read(struct ast_channel *chan)
 {
 	struct ast_frame *f = NULL;
 	int blah;
+	int prestate;
 #ifdef ZAPTEL_OPTIMIZATIONS
 	int (*func)(void *);
 	void *data;
 	int res;
-	int prestate;
 #endif
 	static struct ast_frame null_frame = 
 	{
-- 
GitLab