diff options
author | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-08-08 17:15:02 +0000 |
---|---|---|
committer | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-08-08 17:15:02 +0000 |
commit | 28a366ed7268db8428ee2d78fb44f29c78067dd9 (patch) | |
tree | e2443cc3c4c3b09b706e611a61f475c509778c57 /res | |
parent | d85f0f5c24a90dab01664373615a8e243e6f5851 (diff) |
Merge BSD stack size work (bug #2067)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3596 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'res')
-rwxr-xr-x | res/res_agi.c | 4 | ||||
-rwxr-xr-x | res/res_features.c | 2 | ||||
-rwxr-xr-x | res/res_musiconhold.c | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/res/res_agi.c b/res/res_agi.c index e96807b3f..dce634455 100755 --- a/res/res_agi.c +++ b/res/res_agi.c @@ -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++) { diff --git a/res/res_features.c b/res/res_features.c index 669060c88..4d219298a 100755 --- a/res/res_features.c +++ b/res/res_features.c @@ -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); diff --git a/res/res_musiconhold.c b/res/res_musiconhold.c index 647956532..f31b977cf 100755 --- a/res/res_musiconhold.c +++ b/res/res_musiconhold.c @@ -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); |