[Asterisk-cvs] asterisk/apps app_adsiprog.c,1.7,1.8 app_agi.c,1.42,1.43 app_alarmreceiver.c,1.1,1.2 app_authenticate.c,1.4,1.5 app_chanisavail.c,1.7,1.8 app_controlplayback.c,1.6,1.7 app_datetime.c,1.1,1.2 app_db.c,1.4,1.5 app_dial.c,1.78,1.79 app_directory.c,1.22,1.23 app_disa.c,1.12,1.13 app_echo.c,1.9,1.10 app_enumlookup.c,1.8,1.9 app_festival.c,1.21,1.22 app_flash.c,1.2,1.3 app_getcpeid.c,1.1,1.2 app_hasnewvoicemail.c,1.5,1.6 app_ices.c,1.3,1.4 app_image.c,1.2,1.3 app_intercom.c,1.19,1.20 app_lookupblacklist.c,1.4,1.5 app_lookupcidname.c,1.2,1.3 app_macro.c,1.13,1.14 app_meetme.c,1.45,1.46 app_milliwatt.c,1.8,1.9 app_mp3.c,1.18,1.19 app_nbscat.c,1.6,1.7 app_parkandannounce.c,1.6,1.7 app_playback.c,1.12,1.13 app_privacy.c,1.5,1.6 app_qcall.c,1.10,1.11 app_queue.c,1.71,1.72 app_read.c,1.6,1.7 app_record.c,1.17,1.18 app_rpt.c,1.7,1.8 app_senddtmf.c,1.6,1.7 app_sendtext.c,1.1,1.2 app_setcallerid.c,1.2,1.3 app_setcidname.c,1.2,1.3 app_setcidnum.c,1.2,1.3 app_skel.c,1.6,1.7 app_sms.c,1.5,1.6 app_softhangup.c,1.3,1.4 app_sql_postgres.c,1.5,1.6 app_striplsd.c,1.2,1.3 app_substring.c,1.7,1.8 app_system.c,1.9,1.10 app_talkdetect.c,1.2,1.3 app_transfer.c,1.3,1.4 app_txtcidname.c,1.3,1.4 app_url.c,1.4,1.5 app_userevent.c,1.1,1.2 app_voicemail.c,1.114,1.115 app_waitforring.c,1.3,1.4 app_zapateller.c,1.4,1.5 app_zapbarge.c,1.5,1.6 app_zapras.c,1.7,1.8 app_zapscan.c,1.12,1.13

citats at lists.digium.com citats at lists.digium.com
Tue Jun 22 15:46:58 CDT 2004


Update of /usr/cvsroot/asterisk/apps
In directory mongoose.digium.com:/home/citats/cvs/asterisk/apps

Modified Files:
	app_adsiprog.c app_agi.c app_alarmreceiver.c 
	app_authenticate.c app_chanisavail.c app_controlplayback.c 
	app_datetime.c app_db.c app_dial.c app_directory.c app_disa.c 
	app_echo.c app_enumlookup.c app_festival.c app_flash.c 
	app_getcpeid.c app_hasnewvoicemail.c app_ices.c app_image.c 
	app_intercom.c app_lookupblacklist.c app_lookupcidname.c 
	app_macro.c app_meetme.c app_milliwatt.c app_mp3.c 
	app_nbscat.c app_parkandannounce.c app_playback.c 
	app_privacy.c app_qcall.c app_queue.c app_read.c app_record.c 
	app_rpt.c app_senddtmf.c app_sendtext.c app_setcallerid.c 
	app_setcidname.c app_setcidnum.c app_skel.c app_sms.c 
	app_softhangup.c app_sql_postgres.c app_striplsd.c 
	app_substring.c app_system.c app_talkdetect.c app_transfer.c 
	app_txtcidname.c app_url.c app_userevent.c app_voicemail.c 
	app_waitforring.c app_zapateller.c app_zapbarge.c app_zapras.c 
	app_zapscan.c 
Log Message:
Remove pthread.h from source.  We should be using asterisk/lock.h everywhere instead (except in asterisk/lock.h).

Index: app_adsiprog.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_adsiprog.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- app_adsiprog.c	4 May 2004 19:11:25 -0000	1.7
+++ app_adsiprog.c	22 Jun 2004 19:32:52 -0000	1.8
@@ -20,6 +20,7 @@
 #include <asterisk/adsi.h>
 #include <asterisk/options.h>
 #include <asterisk/utils.h>
+#include <asterisk/lock.h>
 #include <netinet/in.h>
 #include <stdlib.h>
 #include <unistd.h>
@@ -29,8 +30,6 @@
 #include <stdio.h>
 #include <errno.h>
 
-#include <pthread.h>
-
 #include "../asterisk.h"
 #include "../astconf.h"
 

Index: app_agi.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_agi.c,v
retrieving revision 1.42
retrieving revision 1.43
diff -u -d -r1.42 -r1.43
--- app_agi.c	4 Jun 2004 19:01:07 -0000	1.42
+++ app_agi.c	22 Jun 2004 19:32:52 -0000	1.43
@@ -37,11 +37,10 @@
 #include <asterisk/dsp.h>
 #include <asterisk/musiconhold.h>
 #include <asterisk/utils.h>
+#include <asterisk/lock.h>
 #include "../asterisk.h"
 #include "../astconf.h"
 
-#include <pthread.h>
-
 #define MAX_ARGS 128
 
 /* Recycle some stuff from the CLI interface */

Index: app_alarmreceiver.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_alarmreceiver.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- app_alarmreceiver.c	21 Jun 2004 19:28:34 -0000	1.1
+++ app_alarmreceiver.c	22 Jun 2004 19:32:52 -0000	1.2
@@ -39,7 +39,6 @@
 #include <math.h>
 #include <sys/wait.h>
 #include <unistd.h>
-#include <pthread.h>
 #include <sys/time.h>
 
 #define ALMRCV_CONFIG "alarmreceiver.conf"

Index: app_authenticate.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_authenticate.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- app_authenticate.c	4 May 2004 19:11:25 -0000	1.4
+++ app_authenticate.c	22 Jun 2004 19:32:52 -0000	1.5
@@ -26,8 +26,6 @@
 #include <errno.h>
 #include <stdlib.h>
 #include <stdio.h>
-#include <pthread.h>
-
 
 static char *tdesc = "Authentication Application";
 

Index: app_chanisavail.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_chanisavail.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- app_chanisavail.c	6 Jun 2004 17:36:57 -0000	1.7
+++ app_chanisavail.c	22 Jun 2004 19:32:52 -0000	1.8
@@ -27,8 +27,6 @@
 #include <stdlib.h>
 #include <sys/ioctl.h>
 
-#include <pthread.h>
-
 static char *tdesc = "Check if channel is available";
 
 static char *app = "ChanIsAvail";

Index: app_controlplayback.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_controlplayback.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- app_controlplayback.c	15 Jun 2004 20:33:26 -0000	1.6
+++ app_controlplayback.c	22 Jun 2004 19:32:52 -0000	1.7
@@ -22,7 +22,6 @@
 #include <asterisk/utils.h>
 #include <string.h>
 #include <stdlib.h>
-#include <pthread.h>
 
 static char *tdesc = "Control Playback Application";
 

Index: app_datetime.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_datetime.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- app_datetime.c	12 Jul 2002 09:03:50 -0000	1.1
+++ app_datetime.c	22 Jun 2004 19:32:52 -0000	1.2
@@ -23,9 +23,6 @@
 #include <string.h>
 #include <stdlib.h>
 
-#include <pthread.h>
-
-
 static char *tdesc = "Date and Time";
 
 static char *app = "DateTime";

Index: app_db.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_db.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- app_db.c	23 Apr 2003 19:09:13 -0000	1.4
+++ app_db.c	22 Jun 2004 19:32:52 -0000	1.5
@@ -20,14 +20,12 @@
 #include <asterisk/channel.h>
 #include <asterisk/pbx.h>
 #include <asterisk/module.h>
-#include <asterisk/pbx.h>
 #include <asterisk/astdb.h>
+#include <asterisk/lock.h>
 #include <stdlib.h>
 #include <unistd.h>
 #include <string.h>
 #include <stdlib.h>
-#include <pthread.h>
-
 
 static char *tdesc = "Database access functions for Asterisk extension logic";
 

Index: app_dial.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_dial.c,v
retrieving revision 1.78
retrieving revision 1.79
diff -u -d -r1.78 -r1.79
--- app_dial.c	22 Jun 2004 17:42:13 -0000	1.78
+++ app_dial.c	22 Jun 2004 19:32:52 -0000	1.79
@@ -36,8 +36,6 @@
 #include <sys/signal.h>
 #include <netinet/in.h>
 
-#include <pthread.h>
-
 static char *tdesc = "Dialing Application";
 
 static char *app = "Dial";

Index: app_directory.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_directory.c,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -d -r1.22 -r1.23
--- app_directory.c	22 Jun 2004 03:43:41 -0000	1.22
+++ app_directory.c	22 Jun 2004 19:32:52 -0000	1.23
@@ -23,7 +23,6 @@
 #include <string.h>
 #include <ctype.h>
 #include <stdlib.h>
-#include <pthread.h>
 #include <stdio.h>
 #include "../asterisk.h"
 #include "../astconf.h"

Index: app_disa.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_disa.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- app_disa.c	4 May 2004 19:20:20 -0000	1.12
+++ app_disa.c	22 Jun 2004 19:32:52 -0000	1.13
@@ -25,7 +25,6 @@
 #include <stdlib.h>
 #include <stdio.h>
 #include <math.h>
-#include <pthread.h>
 #include <sys/time.h>
 
 /*

Index: app_echo.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_echo.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- app_echo.c	6 Apr 2004 22:17:31 -0000	1.9
+++ app_echo.c	22 Jun 2004 19:32:52 -0000	1.10
@@ -22,9 +22,6 @@
 #include <string.h>
 #include <stdlib.h>
 
-#include <pthread.h>
-
-
 static char *tdesc = "Simple Echo Application";
 
 static char *app = "Echo";

Index: app_enumlookup.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_enumlookup.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- app_enumlookup.c	9 May 2004 07:51:44 -0000	1.8
+++ app_enumlookup.c	22 Jun 2004 19:32:52 -0000	1.9
@@ -27,9 +27,6 @@
 #include <stdlib.h>
 #include <ctype.h>
 
-#include <pthread.h>
-
-
 static char *tdesc = "ENUM Lookup";
 
 static char *app = "EnumLookup";

Index: app_festival.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_festival.c,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -d -r1.21 -r1.22
--- app_festival.c	13 Jun 2004 21:25:10 -0000	1.21
+++ app_festival.c	22 Jun 2004 19:32:52 -0000	1.22
@@ -20,6 +20,7 @@
 #include <asterisk/md5.h>
 #include <asterisk/config.h>
 #include <asterisk/utils.h>
+#include <asterisk/lock.h>
 #include <stdlib.h>
 #include <unistd.h>
 #include <string.h>
@@ -35,7 +36,6 @@
 #include <unistd.h>
 #include <fcntl.h>
 #include <ctype.h>
-#include <pthread.h>
 
 
 #define FESTIVAL_CONFIG "festival.conf"

Index: app_flash.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_flash.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- app_flash.c	4 Jun 2004 15:44:14 -0000	1.2
+++ app_flash.c	22 Jun 2004 19:32:52 -0000	1.3
@@ -29,7 +29,6 @@
 #include <string.h>
 #include <errno.h>
 #include <stdlib.h>
-#include <pthread.h>
 
 static char *tdesc = "Flash zap trunk application";
 

Index: app_getcpeid.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_getcpeid.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- app_getcpeid.c	13 May 2002 22:29:38 -0000	1.1
+++ app_getcpeid.c	22 Jun 2004 19:32:52 -0000	1.2
@@ -24,9 +24,6 @@
 #include <string.h>
 #include <stdlib.h>
 
-#include <pthread.h>
-
-
 static char *tdesc = "Get ADSI CPE ID";
 
 static char *app = "GetCPEID";

Index: app_hasnewvoicemail.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_hasnewvoicemail.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- app_hasnewvoicemail.c	1 May 2004 20:59:37 -0000	1.5
+++ app_hasnewvoicemail.c	22 Jun 2004 19:32:52 -0000	1.6
@@ -37,14 +37,13 @@
 #include <asterisk/channel.h>
 #include <asterisk/pbx.h>
 #include <asterisk/module.h>
+#include <asterisk/lock.h>
 #include <stdlib.h>
 #include <unistd.h>
 #include <string.h>
 #include <stdlib.h>
 #include <dirent.h>
 
-#include <pthread.h>
-
 #include "../astconf.h"
 
 static char *tdesc = "Indicator for whether a voice mailbox has messages in a given folder.";

Index: app_ices.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_ices.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- app_ices.c	6 Apr 2004 22:17:31 -0000	1.3
+++ app_ices.c	22 Jun 2004 19:32:52 -0000	1.4
@@ -25,7 +25,6 @@
 #include <stdlib.h>
 #include <unistd.h>
 #include <fcntl.h>
-#include <pthread.h>
 #include <sys/time.h>
 #include <errno.h>
 #include "../astconf.h"

Index: app_image.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_image.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- app_image.c	13 May 2002 22:29:38 -0000	1.2
+++ app_image.c	22 Jun 2004 19:32:52 -0000	1.3
@@ -21,7 +21,6 @@
 #include <asterisk/image.h>
 #include <string.h>
 #include <stdlib.h>
-#include <pthread.h>
 
 static char *tdesc = "Image Transmission Application";
 

Index: app_intercom.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_intercom.c,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -d -r1.19 -r1.20
--- app_intercom.c	9 Jun 2004 01:45:07 -0000	1.19
+++ app_intercom.c	22 Jun 2004 19:32:52 -0000	1.20
@@ -24,7 +24,6 @@
 #include <sys/ioctl.h>
 #include <string.h>
 #include <stdlib.h>
-#include <pthread.h>
 #include <sys/time.h>
 #include <netinet/in.h>
 

Index: app_lookupblacklist.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_lookupblacklist.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- app_lookupblacklist.c	16 Mar 2003 22:37:29 -0000	1.4
+++ app_lookupblacklist.c	22 Jun 2004 19:32:52 -0000	1.5
@@ -24,7 +24,6 @@
 #include <asterisk/astdb.h>
 #include <string.h>
 #include <stdlib.h>
-#include <pthread.h>
 
 static char *tdesc = "Look up Caller*ID name/number from blacklist database";
 

Index: app_lookupcidname.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_lookupcidname.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- app_lookupcidname.c	16 Mar 2003 22:37:29 -0000	1.2
+++ app_lookupcidname.c	22 Jun 2004 19:32:52 -0000	1.3
@@ -24,7 +24,6 @@
 #include <asterisk/astdb.h>
 #include <string.h>
 #include <stdlib.h>
-#include <pthread.h>
 
 static char *tdesc = "Look up CallerID Name from local database";
 

Index: app_macro.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_macro.c,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -d -r1.13 -r1.14
--- app_macro.c	8 May 2004 08:07:47 -0000	1.13
+++ app_macro.c	22 Jun 2004 19:32:52 -0000	1.14
@@ -19,13 +19,12 @@
 #include <asterisk/module.h>
 #include <asterisk/options.h>
 #include <asterisk/utils.h>
+#include <asterisk/lock.h>
 #include <stdlib.h>
 #include <unistd.h>
 #include <string.h>
 #include <stdlib.h>
 
-#include <pthread.h>
-
 #define MAX_ARGS 80
 
 static char *tdesc = "Extension Macros";

Index: app_meetme.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_meetme.c,v
retrieving revision 1.45
retrieving revision 1.46
diff -u -d -r1.45 -r1.46
--- app_meetme.c	21 Jun 2004 02:37:34 -0000	1.45
+++ app_meetme.c	22 Jun 2004 19:32:52 -0000	1.46
@@ -31,7 +31,6 @@
 #include <errno.h>
 #include <stdlib.h>
 #include <sys/ioctl.h>
-#include <pthread.h>
 
 #ifdef __linux__
 #include <linux/zaptel.h>

Index: app_milliwatt.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_milliwatt.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- app_milliwatt.c	13 Jun 2004 21:25:10 -0000	1.8
+++ app_milliwatt.c	22 Jun 2004 19:32:52 -0000	1.9
@@ -23,8 +23,6 @@
 #include <stdlib.h>
 #include <errno.h>
 
-#include <pthread.h>
-
 static char *tdesc = "Digital Milliwatt (mu-law) Test Application";
 
 static char *app = "Milliwatt";

Index: app_mp3.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_mp3.c,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -d -r1.18 -r1.19
--- app_mp3.c	3 May 2004 03:32:04 -0000	1.18
+++ app_mp3.c	22 Jun 2004 19:32:52 -0000	1.19
@@ -25,7 +25,6 @@
 #include <stdlib.h>
 #include <unistd.h>
 #include <fcntl.h>
-#include <pthread.h>
 #include <sys/time.h>
 
 #define LOCAL_MPG_123 "/usr/local/bin/mpg123"

Index: app_nbscat.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_nbscat.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- app_nbscat.c	1 May 2004 14:03:37 -0000	1.6
+++ app_nbscat.c	22 Jun 2004 19:32:52 -0000	1.7
@@ -25,7 +25,6 @@
 #include <stdlib.h>
 #include <unistd.h>
 #include <fcntl.h>
-#include <pthread.h>
 #include <sys/time.h>
 #include <sys/socket.h>
 

Index: app_parkandannounce.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_parkandannounce.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- app_parkandannounce.c	6 May 2004 03:20:05 -0000	1.6
+++ app_parkandannounce.c	22 Jun 2004 19:32:52 -0000	1.7
@@ -25,14 +25,13 @@
 #include <asterisk/options.h>
 #include <asterisk/logger.h>
 #include <asterisk/say.h>
+#include <asterisk/lock.h>
 
 #include <stdlib.h>
 #include <unistd.h>
 #include <string.h>
 #include <stdlib.h>
 
-#include <pthread.h>
-
 static char *tdesc = "Call Parking and Announce Application";
 
 static char *app = "ParkAndAnnounce";

Index: app_playback.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_playback.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- app_playback.c	9 May 2004 07:51:44 -0000	1.12
+++ app_playback.c	22 Jun 2004 19:32:52 -0000	1.13
@@ -21,7 +21,6 @@
 #include <asterisk/utils.h>
 #include <string.h>
 #include <stdlib.h>
-#include <pthread.h>
 
 static char *tdesc = "Trivial Playback Application";
 

Index: app_privacy.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_privacy.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- app_privacy.c	26 Sep 2003 23:41:41 -0000	1.5
+++ app_privacy.c	22 Jun 2004 19:32:52 -0000	1.6
@@ -25,7 +25,6 @@
 #include <asterisk/config.h>
 #include <string.h>
 #include <stdlib.h>
-#include <pthread.h>
 
 #define PRIV_CONFIG "privacy.conf"
 

Index: app_qcall.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_qcall.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- app_qcall.c	6 Apr 2004 22:17:31 -0000	1.10
+++ app_qcall.c	22 Jun 2004 19:32:52 -0000	1.11
@@ -62,7 +62,6 @@
 #include <unistd.h>
 #include <string.h>
 #include <stdlib.h>
-#include <pthread.h>
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <errno.h>

Index: app_queue.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_queue.c,v
retrieving revision 1.71
retrieving revision 1.72
diff -u -d -r1.71 -r1.72
--- app_queue.c	22 Jun 2004 17:42:13 -0000	1.71
+++ app_queue.c	22 Jun 2004 19:32:52 -0000	1.72
@@ -55,8 +55,6 @@
 
 #include "../astconf.h"
 
-#include <pthread.h>
-
 #define QUEUE_STRATEGY_RINGALL		0
 #define QUEUE_STRATEGY_ROUNDROBIN	1
 #define QUEUE_STRATEGY_LEASTRECENT	2

Index: app_read.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_read.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- app_read.c	2 Jun 2004 18:15:24 -0000	1.6
+++ app_read.c	22 Jun 2004 19:32:52 -0000	1.7
@@ -23,7 +23,6 @@
 #include <asterisk/utils.h>
 #include <string.h>
 #include <stdlib.h>
-#include <pthread.h>
 
 static char *tdesc = "Read Variable Application";
 

Index: app_record.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_record.c,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -d -r1.17 -r1.18
--- app_record.c	25 May 2004 15:53:28 -0000	1.17
+++ app_record.c	22 Jun 2004 19:32:52 -0000	1.18
@@ -21,7 +21,6 @@
 #include <asterisk/dsp.h>
 #include <string.h>
 #include <stdlib.h>
-#include <pthread.h>
 
 static char *tdesc = "Trivial Record Application";
 

Index: app_rpt.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_rpt.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- app_rpt.c	22 Jun 2004 17:42:13 -0000	1.7
+++ app_rpt.c	22 Jun 2004 19:32:52 -0000	1.8
@@ -50,7 +50,6 @@
 enum{ID,PROC,TERM,COMPLETE,UNKEY,REMDISC,REMALREADY,REMNOTFOUND,REMGO,
 	CONNECTED,CONNFAIL,STATUS};
 
-#include <pthread.h>
 #include <asterisk/lock.h>
 #include <asterisk/file.h>
 #include <asterisk/logger.h>

Index: app_senddtmf.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_senddtmf.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- app_senddtmf.c	9 May 2004 21:07:38 -0000	1.6
+++ app_senddtmf.c	22 Jun 2004 19:32:52 -0000	1.7
@@ -23,7 +23,6 @@
 #include <asterisk/app.h>
 #include <string.h>
 #include <stdlib.h>
-#include <pthread.h>
 
 static char *tdesc = "Send DTMF digits Application";
 

Index: app_sendtext.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_sendtext.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- app_sendtext.c	7 Apr 2004 17:19:25 -0000	1.1
+++ app_sendtext.c	22 Jun 2004 19:32:52 -0000	1.2
@@ -22,7 +22,6 @@
 #include <asterisk/image.h>
 #include <string.h>
 #include <stdlib.h>
-#include <pthread.h>
 
 static char *tdesc = "Send Text Applications";
 

Index: app_setcallerid.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_setcallerid.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- app_setcallerid.c	8 Nov 2002 19:38:10 -0000	1.2
+++ app_setcallerid.c	22 Jun 2004 19:32:52 -0000	1.3
@@ -21,7 +21,6 @@
 #include <asterisk/image.h>
 #include <string.h>
 #include <stdlib.h>
-#include <pthread.h>
 
 static char *tdesc = "Set CallerID Application";
 

Index: app_setcidname.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_setcidname.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- app_setcidname.c	9 May 2004 07:51:44 -0000	1.2
+++ app_setcidname.c	22 Jun 2004 19:32:52 -0000	1.3
@@ -23,7 +23,6 @@
 #include <asterisk/utils.h>
 #include <string.h>
 #include <stdlib.h>
-#include <pthread.h>
 
 static char *tdesc = "Set CallerID Name";
 

Index: app_setcidnum.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_setcidnum.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- app_setcidnum.c	9 May 2004 07:51:44 -0000	1.2
+++ app_setcidnum.c	22 Jun 2004 19:32:52 -0000	1.3
@@ -24,7 +24,6 @@
 #include <asterisk/utils.h>
 #include <string.h>
 #include <stdlib.h>
-#include <pthread.h>
 
 static char *tdesc = "Set CallerID Number";
 

Index: app_skel.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_skel.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- app_skel.c	15 Nov 2003 06:14:15 -0000	1.6
+++ app_skel.c	22 Jun 2004 19:32:52 -0000	1.7
@@ -16,10 +16,10 @@
 #include <asterisk/channel.h>
 #include <asterisk/pbx.h>
 #include <asterisk/module.h>
+#include <asterisk/lock.h>
 #include <stdlib.h>
 #include <unistd.h>
 #include <string.h>
-#include <pthread.h>
 
 static char *tdesc = "Trivial skeleton Application";
 static char *app = "skel";

Index: app_sms.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_sms.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- app_sms.c	13 Jun 2004 21:25:10 -0000	1.5
+++ app_sms.c	22 Jun 2004 19:32:52 -0000	1.6
@@ -27,8 +27,6 @@
 #include <dirent.h>
 #include <ctype.h>
 
-#include <pthread.h>
-
 /* ToDo */
 /* When acting as SC and answering, should check for messages and send instead of sending EST as first packet */
 /* Add full VP support */

Index: app_softhangup.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_softhangup.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- app_softhangup.c	20 May 2004 16:30:10 -0000	1.3
+++ app_softhangup.c	22 Jun 2004 19:32:52 -0000	1.4
@@ -17,14 +17,12 @@
 #include <asterisk/channel.h>
 #include <asterisk/pbx.h>
 #include <asterisk/module.h>
+#include <asterisk/lock.h>
 #include <stdlib.h>
 #include <unistd.h>
 #include <string.h>
 #include <stdlib.h>
 
-#include <pthread.h>
-
-
 static char *synopsis = "Soft Hangup Application";
 
 static char *tdesc = "Hangs up the requested channel";

Index: app_sql_postgres.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_sql_postgres.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- app_sql_postgres.c	16 Jun 2004 03:28:42 -0000	1.5
+++ app_sql_postgres.c	22 Jun 2004 19:32:52 -0000	1.6
@@ -26,7 +26,6 @@
 #include <sys/types.h>
 #include <stdio.h>
 #include <unistd.h>
-#include <pthread.h>
 #include "libpq-fe.h"
 
 #define EXTRA_LOG 0

Index: app_striplsd.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_striplsd.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- app_striplsd.c	23 Apr 2003 19:09:13 -0000	1.2
+++ app_striplsd.c	22 Jun 2004 19:32:52 -0000	1.3
@@ -17,14 +17,12 @@
 #include <asterisk/channel.h>
 #include <asterisk/pbx.h>
 #include <asterisk/module.h>
+#include <asterisk/lock.h>
 #include <stdlib.h>
 #include <unistd.h>
 #include <string.h>
 #include <stdlib.h>
 
-#include <pthread.h>
-
-
 static char *tdesc = "Strip trailing digits";
 
 static char *descrip =

Index: app_substring.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_substring.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- app_substring.c	15 Apr 2004 18:41:17 -0000	1.7
+++ app_substring.c	22 Jun 2004 19:32:52 -0000	1.8
@@ -18,14 +18,12 @@
 #include <asterisk/pbx.h>
 #include <asterisk/module.h>
 #include <asterisk/pbx.h>
+#include <asterisk/lock.h>
 #include <stdlib.h>
 #include <unistd.h>
 #include <string.h>
 #include <stdlib.h>
 
-#include <pthread.h>
-
-
 static char *tdesc = "(Deprecated) Save substring digits in a given variable";
 
 static char *descrip =

Index: app_system.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_system.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- app_system.c	22 Mar 2004 17:34:21 -0000	1.9
+++ app_system.c	22 Jun 2004 19:32:52 -0000	1.10
@@ -24,9 +24,6 @@
 #include <stdlib.h>
 #include <errno.h>
 
-#include <pthread.h>
-
-
 static char *tdesc = "Generic System() application";
 
 static char *app = "System";

Index: app_talkdetect.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_talkdetect.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- app_talkdetect.c	16 Jun 2004 21:15:15 -0000	1.2
+++ app_talkdetect.c	22 Jun 2004 19:32:52 -0000	1.3
@@ -22,7 +22,6 @@
 #include <asterisk/dsp.h>
 #include <string.h>
 #include <stdlib.h>
-#include <pthread.h>
 
 static char *tdesc = "Playback with Talk Detection";
 

Index: app_transfer.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_transfer.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- app_transfer.c	12 May 2004 17:30:55 -0000	1.3
+++ app_transfer.c	22 Jun 2004 19:32:52 -0000	1.4
@@ -22,9 +22,6 @@
 #include <string.h>
 #include <stdlib.h>
 
-#include <pthread.h>
-
-
 static char *tdesc = "Transfer";
 
 static char *app = "Transfer";

Index: app_txtcidname.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_txtcidname.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- app_txtcidname.c	17 May 2004 02:05:27 -0000	1.3
+++ app_txtcidname.c	22 Jun 2004 19:32:52 -0000	1.4
@@ -26,9 +26,6 @@
 #include <stdlib.h>
 #include <ctype.h>
 
-#include <pthread.h>
-
-
 static char *tdesc = "TXTCIDName";
 
 static char *app = "TXTCIDName";

Index: app_url.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_url.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- app_url.c	11 Nov 2002 16:37:01 -0000	1.4
+++ app_url.c	22 Jun 2004 19:32:52 -0000	1.5
@@ -21,7 +21,6 @@
 #include <asterisk/image.h>
 #include <string.h>
 #include <stdlib.h>
-#include <pthread.h>
 
 static char *tdesc = "Send URL Applications";
 

Index: app_userevent.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_userevent.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- app_userevent.c	21 Jun 2004 23:00:00 -0000	1.1
+++ app_userevent.c	22 Jun 2004 19:32:52 -0000	1.2
@@ -19,7 +19,6 @@
 #include <unistd.h>
 #include <string.h>
 #include <stdlib.h>
-#include <pthread.h>
 
 static char *tdesc = "Custom User Event Application";
 

Index: app_voicemail.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_voicemail.c,v
retrieving revision 1.114
retrieving revision 1.115
diff -u -d -r1.114 -r1.115
--- app_voicemail.c	22 Jun 2004 17:42:13 -0000	1.114
+++ app_voicemail.c	22 Jun 2004 19:32:52 -0000	1.115
@@ -58,7 +58,6 @@
 static inline void sql_close(void) { }
 #endif
 
-#include <pthread.h>
 #include "../asterisk.h"
 #include "../astconf.h"
 

Index: app_waitforring.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_waitforring.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- app_waitforring.c	15 Feb 2004 08:41:56 -0000	1.3
+++ app_waitforring.c	22 Jun 2004 19:32:52 -0000	1.4
@@ -18,14 +18,12 @@
 #include <asterisk/pbx.h>
 #include <asterisk/module.h>
 #include <asterisk/options.h>
+#include <asterisk/lock.h>
 #include <stdlib.h>
 #include <unistd.h>
 #include <string.h>
 #include <stdlib.h>
 
-#include <pthread.h>
-
-
 static char *synopsis = "Wait for Ring Application";
 
 static char *tdesc = "Waits until first ring after time";

Index: app_zapateller.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_zapateller.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- app_zapateller.c	31 Mar 2003 03:19:34 -0000	1.4
+++ app_zapateller.c	22 Jun 2004 19:32:52 -0000	1.5
@@ -20,7 +20,6 @@
 #include <asterisk/translate.h>
 #include <string.h>
 #include <stdlib.h>
-#include <pthread.h>
 
 static char *tdesc = "Block Telemarketers with Special Information Tone";
 

Index: app_zapbarge.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_zapbarge.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- app_zapbarge.c	4 Jun 2004 15:44:14 -0000	1.5
+++ app_zapbarge.c	22 Jun 2004 19:32:52 -0000	1.6
@@ -32,7 +32,6 @@
 #include <string.h>
 #include <stdlib.h>
 #include <sys/ioctl.h>
-#include <pthread.h>
 
 #ifdef __linux__
 #include <linux/zaptel.h>

Index: app_zapras.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_zapras.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- app_zapras.c	7 Jun 2004 19:12:14 -0000	1.7
+++ app_zapras.c	22 Jun 2004 19:32:52 -0000	1.8
@@ -34,8 +34,6 @@
 #include <stdio.h>
 #include <fcntl.h>
 
-#include <pthread.h>
-
 /* Need some zaptel help here */
 #ifdef __linux__
 #include <linux/zaptel.h>

Index: app_zapscan.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_zapscan.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- app_zapscan.c	21 Jun 2004 04:08:54 -0000	1.12
+++ app_zapscan.c	22 Jun 2004 19:32:52 -0000	1.13
@@ -33,7 +33,6 @@
 #include <string.h>
 #include <stdlib.h>
 #include <sys/ioctl.h>
-#include <pthread.h>
 
 #ifdef __linux__
 #include <linux/zaptel.h>




More information about the svn-commits mailing list