diff options
author | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2003-08-21 23:19:56 +0000 |
---|---|---|
committer | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2003-08-21 23:19:56 +0000 |
commit | 6abe671e9b95ff13283068e2f6344fabeb9f7f5c (patch) | |
tree | a7f6632d8792038ce7e42b3721c59f6699180b79 | |
parent | a6481d24dfd22fdeb04c701523392e3ee5ab32db (diff) |
Fix mysql build issue
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1398 f38db490-d61c-443f-a65b-d21fe96a405b
-rwxr-xr-x | apps/Makefile | 1 | ||||
-rwxr-xr-x | apps/app_voicemail2.c | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/apps/Makefile b/apps/Makefile index 3f7383174..5c82d81a3 100755 --- a/apps/Makefile +++ b/apps/Makefile @@ -54,7 +54,6 @@ app_todd.so: app_todd.o ifeq (${USE_MYSQL_VM_INTERFACE}, 1) app_voicemail2.o: app_voicemail2.c - $(CC) -pipe -Wall -Wmissing-prototypes -Wmissing-declarations -O6 -g -Iinclude -I../include -DUSEMYSQLVM=\"1\" -D_REENTRANT -D_GNU_SOURCE -march=i686 -DASTERISK_VERSION=\"CVS-07/21/02-14:49:14\" -DDO_CRASH -DDEBUG_THREADS -c -o app_voicemail2.o app_voicemail2.c app_voicemail2.so : app_voicemail2.o $(CC) -shared -Xlinker -x -o $@ $< -L/usr/lib/mysql -lmysqlclient diff --git a/apps/app_voicemail2.c b/apps/app_voicemail2.c index 12a5ac9a9..a497a7929 100755 --- a/apps/app_voicemail2.c +++ b/apps/app_voicemail2.c @@ -197,7 +197,7 @@ static int mysql_login(void) ast_log(LOG_WARNING, "Error Logging into database\n"); return(-1); } - pthread_mutex_init(&mysqllock, NULL); + ast_mutex_init(&mysqllock, NULL); return(0); } |