aboutsummaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorcitats <citats@f38db490-d61c-443f-a65b-d21fe96a405b>2004-06-22 18:49:00 +0000
committercitats <citats@f38db490-d61c-443f-a65b-d21fe96a405b>2004-06-22 18:49:00 +0000
commit00b34f3e0a4c193bfbe44de48b1bccebdf14c150 (patch)
tree49bfb8ee224bea68dce0160baf8bd359d1f1f1b0 /res
parent42e760fa03b8922686c13c3fc04b11b08521c6c2 (diff)
Remove pthread.h from source. We should be using asterisk/lock.h everywhere instead (except in asterisk/lock.h).
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3276 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'res')
-rwxr-xr-xres/res_config_odbc.c2
-rwxr-xr-xres/res_crypto.c2
-rwxr-xr-xres/res_indications.c1
-rwxr-xr-xres/res_musiconhold.c2
-rwxr-xr-xres/res_odbc.c2
-rwxr-xr-xres/res_parking.c2
6 files changed, 3 insertions, 8 deletions
diff --git a/res/res_config_odbc.c b/res/res_config_odbc.c
index ffaccb8cb..dead1233b 100755
--- a/res/res_config_odbc.c
+++ b/res/res_config_odbc.c
@@ -17,10 +17,10 @@
#include <asterisk/config.h>
#include <asterisk/config_pvt.h>
#include <asterisk/module.h>
+#include <asterisk/lock.h>
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
-#include <pthread.h>
#include <asterisk/res_odbc.h>
diff --git a/res/res_crypto.c b/res/res_crypto.c
index 2ebf4bef9..4e12eb5b7 100755
--- a/res/res_crypto.c
+++ b/res/res_crypto.c
@@ -22,10 +22,10 @@
#include <asterisk/md5.h>
#include <asterisk/cli.h>
#include <asterisk/io.h>
+#include <asterisk/lock.h>
#include <openssl/ssl.h>
#include <openssl/err.h>
#include <stdio.h>
-#include <pthread.h>
#include <dirent.h>
#include <string.h>
#include <errno.h>
diff --git a/res/res_indications.c b/res/res_indications.c
index 78eb2a33d..f3bbc01ba 100755
--- a/res/res_indications.c
+++ b/res/res_indications.c
@@ -18,7 +18,6 @@
#include <string.h>
#include <ctype.h>
#include <stdlib.h>
-#include <pthread.h>
#include <errno.h>
#include <sys/types.h>
#include <sys/stat.h>
diff --git a/res/res_musiconhold.c b/res/res_musiconhold.c
index 6bef3a6d6..960f40d2b 100755
--- a/res/res_musiconhold.c
+++ b/res/res_musiconhold.c
@@ -46,8 +46,6 @@
#include <unistd.h>
#include <sys/ioctl.h>
-#include <pthread.h>
-
static char *app0 = "MusicOnHold";
static char *app1 = "WaitMusicOnHold";
static char *app2 = "SetMusicOnHold";
diff --git a/res/res_odbc.c b/res/res_odbc.c
index 60e8cd243..b064b92d2 100755
--- a/res/res_odbc.c
+++ b/res/res_odbc.c
@@ -19,10 +19,10 @@
#include <asterisk/pbx.h>
#include <asterisk/module.h>
#include <asterisk/cli.h>
+#include <asterisk/lock.h>
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
-#include <pthread.h>
#include <asterisk/res_odbc.h>
#define MAX_ODBC_HANDLES 25
diff --git a/res/res_parking.c b/res/res_parking.c
index 29db04136..7448ef9c9 100755
--- a/res/res_parking.c
+++ b/res/res_parking.c
@@ -36,8 +36,6 @@
#include <sys/signal.h>
#include <netinet/in.h>
-#include <pthread.h>
-
#define DEFAULT_PARK_TIME 45000
static char *parkedcall = "ParkedCall";