aboutsummaryrefslogtreecommitdiffstats
path: root/formats
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 /formats
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 'formats')
-rwxr-xr-xformats/format_g723.c1
-rwxr-xr-xformats/format_g726.c1
-rwxr-xr-xformats/format_g729.c1
-rwxr-xr-xformats/format_gsm.c1
-rwxr-xr-xformats/format_h263.c1
-rwxr-xr-xformats/format_ilbc.c1
-rwxr-xr-xformats/format_jpeg.c2
-rwxr-xr-xformats/format_pcm.c1
-rwxr-xr-xformats/format_pcm_alaw.c1
-rwxr-xr-xformats/format_vox.c1
-rwxr-xr-xformats/format_wav.c1
-rwxr-xr-xformats/format_wav_gsm.c1
12 files changed, 1 insertions, 12 deletions
diff --git a/formats/format_g723.c b/formats/format_g723.c
index cf5228f8b..955ce5916 100755
--- a/formats/format_g723.c
+++ b/formats/format_g723.c
@@ -23,7 +23,6 @@
#include <unistd.h>
#include <errno.h>
#include <string.h>
-#include <pthread.h>
#include <sys/time.h>
#include "../channels/adtranvofr.h"
diff --git a/formats/format_g726.c b/formats/format_g726.c
index acb44c728..9788a28b4 100755
--- a/formats/format_g726.c
+++ b/formats/format_g726.c
@@ -24,7 +24,6 @@
#include <unistd.h>
#include <errno.h>
#include <string.h>
-#include <pthread.h>
#ifdef __linux__
#include <endian.h>
#else
diff --git a/formats/format_g729.c b/formats/format_g729.c
index 9f7531d5f..746874d7d 100755
--- a/formats/format_g729.c
+++ b/formats/format_g729.c
@@ -25,7 +25,6 @@
#include <unistd.h>
#include <errno.h>
#include <string.h>
-#include <pthread.h>
#ifdef __linux__
#include <endian.h>
#else
diff --git a/formats/format_gsm.c b/formats/format_gsm.c
index 619786e56..f4b5aa189 100755
--- a/formats/format_gsm.c
+++ b/formats/format_gsm.c
@@ -25,7 +25,6 @@
#include <unistd.h>
#include <errno.h>
#include <string.h>
-#include <pthread.h>
#ifdef __linux__
#include <endian.h>
#else
diff --git a/formats/format_h263.c b/formats/format_h263.c
index dd8a21454..1482e5b5d 100755
--- a/formats/format_h263.c
+++ b/formats/format_h263.c
@@ -25,7 +25,6 @@
#include <unistd.h>
#include <errno.h>
#include <string.h>
-#include <pthread.h>
#ifdef __linux__
#include <endian.h>
#else
diff --git a/formats/format_ilbc.c b/formats/format_ilbc.c
index 0d50900d9..61b9d5958 100755
--- a/formats/format_ilbc.c
+++ b/formats/format_ilbc.c
@@ -27,7 +27,6 @@
#include <unistd.h>
#include <errno.h>
#include <string.h>
-#include <pthread.h>
#ifdef __linux__
#include <endian.h>
#else
diff --git a/formats/format_jpeg.c b/formats/format_jpeg.c
index db7c2096e..56c5ef8d8 100755
--- a/formats/format_jpeg.c
+++ b/formats/format_jpeg.c
@@ -18,6 +18,7 @@
#include <asterisk/sched.h>
#include <asterisk/module.h>
#include <asterisk/image.h>
+#include <asterisk/lock.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <stdlib.h>
@@ -26,7 +27,6 @@
#include <unistd.h>
#include <errno.h>
#include <string.h>
-#include <pthread.h>
#ifdef __linux__
#include <endian.h>
#else
diff --git a/formats/format_pcm.c b/formats/format_pcm.c
index 2ad29471c..3c1cbe3cb 100755
--- a/formats/format_pcm.c
+++ b/formats/format_pcm.c
@@ -25,7 +25,6 @@
#include <unistd.h>
#include <errno.h>
#include <string.h>
-#include <pthread.h>
#ifdef __linux__
#include <endian.h>
#else
diff --git a/formats/format_pcm_alaw.c b/formats/format_pcm_alaw.c
index 55911d8f3..eda446ca4 100755
--- a/formats/format_pcm_alaw.c
+++ b/formats/format_pcm_alaw.c
@@ -27,7 +27,6 @@
#include <unistd.h>
#include <errno.h>
#include <string.h>
-#include <pthread.h>
#ifdef __linux__
#include <endian.h>
#else
diff --git a/formats/format_vox.c b/formats/format_vox.c
index 92f4f4e56..1a09dac52 100755
--- a/formats/format_vox.c
+++ b/formats/format_vox.c
@@ -25,7 +25,6 @@
#include <unistd.h>
#include <errno.h>
#include <string.h>
-#include <pthread.h>
#ifdef __linux__
#include <endian.h>
#else
diff --git a/formats/format_wav.c b/formats/format_wav.c
index 804c38c4e..0e87f2de9 100755
--- a/formats/format_wav.c
+++ b/formats/format_wav.c
@@ -25,7 +25,6 @@
#include <unistd.h>
#include <errno.h>
#include <string.h>
-#include <pthread.h>
#ifdef __linux__
#include <endian.h>
#else
diff --git a/formats/format_wav_gsm.c b/formats/format_wav_gsm.c
index a9f9df838..6ed2c6471 100755
--- a/formats/format_wav_gsm.c
+++ b/formats/format_wav_gsm.c
@@ -25,7 +25,6 @@
#include <unistd.h>
#include <errno.h>
#include <string.h>
-#include <pthread.h>
#ifdef __linux__
#include <endian.h>
#else