remove unused header and old comment

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6503 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Kevin P. Fleming
2005-09-02 18:07:26 +00:00
parent f5dd769dcc
commit 04ebc9b7db

7
pbx.c
View File

@@ -16,7 +16,6 @@
#include <unistd.h> #include <unistd.h>
#include <stdlib.h> #include <stdlib.h>
#include <stdio.h> #include <stdio.h>
#include <setjmp.h>
#include <ctype.h> #include <ctype.h>
#include <errno.h> #include <errno.h>
#include <time.h> #include <time.h>
@@ -2411,10 +2410,8 @@ out:
static void *pbx_thread(void *data) static void *pbx_thread(void *data)
{ {
/* Oh joyeous kernel, we're a new thread, with nothing to do but /* Oh joyeous kernel, we're a new thread, with nothing to do but
answer this channel and get it going. The setjmp stuff is fairly answer this channel and get it going.
confusing, but necessary to get smooth transitions between */
the execution of different applications (without the use of
additional threads) */
struct ast_channel *c = data; struct ast_channel *c = data;
ast_pbx_run(c); ast_pbx_run(c);
pthread_exit(NULL); pthread_exit(NULL);