Fix build without zaptel (bug #3901)
authorMark Spencer <markster@digium.com>
Thu, 31 Mar 2005 19:07:27 +0000 (19:07 +0000)
committerMark Spencer <markster@digium.com>
Thu, 31 Mar 2005 19:07:27 +0000 (19:07 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5320 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channel.c

index 64b8184..e621aec 100755 (executable)
--- 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 = 
        {