mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-16 09:46:22 +00:00
Merge BSD stack size work (bug #2067)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3596 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -1160,7 +1160,7 @@ static int help_workhorse(int fd, char *match[])
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int agi_register(agi_command *agi)
|
||||
int agi_register(agi_command *agi)
|
||||
{
|
||||
int x;
|
||||
for (x=0;x<MAX_COMMANDS - 1;x++) {
|
||||
@@ -1179,7 +1179,7 @@ static int agi_register(agi_command *agi)
|
||||
return -1;
|
||||
}
|
||||
|
||||
static void agi_unregister(agi_command *agi)
|
||||
void agi_unregister(agi_command *agi)
|
||||
{
|
||||
int x;
|
||||
for (x=0;x<MAX_COMMANDS - 1;x++) {
|
||||
|
@@ -864,7 +864,7 @@ int load_module(void)
|
||||
}
|
||||
}
|
||||
ast_add_extension2(con, 1, ast_parking_ext(), 1, NULL, parkcall, strdup(""),free, registrar);
|
||||
pthread_create(&parking_thread, NULL, do_parking_thread, NULL);
|
||||
ast_pthread_create(&parking_thread, NULL, do_parking_thread, NULL);
|
||||
res = ast_register_application(parkedcall, park_exec, synopsis, descrip);
|
||||
if (!res)
|
||||
res = ast_register_application(parkcall, park_call_exec, synopsis2, descrip2);
|
||||
|
@@ -548,7 +548,7 @@ static int moh_register(char *classname, char *mode, char *param, char *miscargs
|
||||
#else
|
||||
moh->pseudofd = -1;
|
||||
#endif
|
||||
if (pthread_create(&moh->thread, NULL, monmp3thread, moh)) {
|
||||
if (ast_pthread_create(&moh->thread, NULL, monmp3thread, moh)) {
|
||||
ast_log(LOG_WARNING, "Unable to create moh...\n");
|
||||
if (moh->pseudofd > -1)
|
||||
close(moh->pseudofd);
|
||||
|
Reference in New Issue
Block a user