[svn-commits] rizzo: trunk r89333 - in /trunk: ./ apps/ cdr/ channels/ codecs/ formats/ fun...
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Fri Nov 16 14:04:59 CST 2007
Author: rizzo
Date: Fri Nov 16 14:04:58 2007
New Revision: 89333
URL: http://svn.digium.com/view/asterisk?view=rev&rev=89333
Log:
Start untangling header inclusion in a way that does not affect
build times - tested, there is no measureable difference before and
after this commit.
In this change:
use asterisk/compat.h to include a small set of system headers:
inttypes.h, unistd.h, stddef.h, stddint.h, sys/types.h, stdarg.h,
stdlib.h, alloca.h, stdio.h
Where available, the inclusion is conditional on HAVE_FOO_H as determined
by autoconf.
Normally, source files should not include any of the above system headers,
and instead use either "asterisk.h" or "asterisk/compat.h" which does it
better.
For the time being I have left alone second-level directories
(main/db1-ast, etc.).
Modified:
trunk/Makefile.rules
trunk/apps/app_adsiprog.c
trunk/apps/app_alarmreceiver.c
trunk/apps/app_amd.c
trunk/apps/app_authenticate.c
trunk/apps/app_cdr.c
trunk/apps/app_chanisavail.c
trunk/apps/app_channelredirect.c
trunk/apps/app_chanspy.c
trunk/apps/app_controlplayback.c
trunk/apps/app_db.c
trunk/apps/app_dial.c
trunk/apps/app_dictate.c
trunk/apps/app_directed_pickup.c
trunk/apps/app_directory.c
trunk/apps/app_disa.c
trunk/apps/app_dumpchan.c
trunk/apps/app_echo.c
trunk/apps/app_exec.c
trunk/apps/app_externalivr.c
trunk/apps/app_festival.c
trunk/apps/app_flash.c
trunk/apps/app_followme.c
trunk/apps/app_forkcdr.c
trunk/apps/app_getcpeid.c
trunk/apps/app_ices.c
trunk/apps/app_image.c
trunk/apps/app_ivrdemo.c
trunk/apps/app_macro.c
trunk/apps/app_meetme.c
trunk/apps/app_milliwatt.c
trunk/apps/app_minivm.c
trunk/apps/app_mixmonitor.c
trunk/apps/app_morsecode.c
trunk/apps/app_mp3.c
trunk/apps/app_nbscat.c
trunk/apps/app_osplookup.c
trunk/apps/app_page.c
trunk/apps/app_parkandannounce.c
trunk/apps/app_playback.c
trunk/apps/app_privacy.c
trunk/apps/app_queue.c
trunk/apps/app_read.c
trunk/apps/app_readexten.c
trunk/apps/app_readfile.c
trunk/apps/app_record.c
trunk/apps/app_rpt.c
trunk/apps/app_sayunixtime.c
trunk/apps/app_senddtmf.c
trunk/apps/app_sendtext.c
trunk/apps/app_setcallerid.c
trunk/apps/app_skel.c
trunk/apps/app_sms.c
trunk/apps/app_softhangup.c
trunk/apps/app_speech_utils.c
trunk/apps/app_stack.c
trunk/apps/app_system.c
trunk/apps/app_talkdetect.c
trunk/apps/app_test.c
trunk/apps/app_transfer.c
trunk/apps/app_url.c
trunk/apps/app_userevent.c
trunk/apps/app_verbose.c
trunk/apps/app_voicemail.c
trunk/apps/app_waitforring.c
trunk/apps/app_waitforsilence.c
trunk/apps/app_while.c
trunk/apps/app_zapateller.c
trunk/apps/app_zapbarge.c
trunk/apps/app_zapras.c
trunk/apps/app_zapscan.c
trunk/cdr/cdr_adaptive_odbc.c
trunk/cdr/cdr_csv.c
trunk/cdr/cdr_custom.c
trunk/cdr/cdr_manager.c
trunk/cdr/cdr_odbc.c
trunk/cdr/cdr_pgsql.c
trunk/cdr/cdr_radius.c
trunk/cdr/cdr_sqlite.c
trunk/cdr/cdr_sqlite3_custom.c
trunk/cdr/cdr_tds.c
trunk/channels/chan_agent.c
trunk/channels/chan_alsa.c
trunk/channels/chan_features.c
trunk/channels/chan_gtalk.c
trunk/channels/chan_h323.c
trunk/channels/chan_iax2.c
trunk/channels/chan_jingle.c
trunk/channels/chan_local.c
trunk/channels/chan_mgcp.c
trunk/channels/chan_misdn.c
trunk/channels/chan_nbs.c
trunk/channels/chan_oss.c
trunk/channels/chan_phone.c
trunk/channels/chan_sip.c
trunk/channels/chan_skinny.c
trunk/channels/chan_unistim.c
trunk/channels/chan_usbradio.c
trunk/channels/chan_vpb.cc
trunk/channels/chan_zap.c
trunk/channels/iax2-parser.c
trunk/channels/iax2-provision.c
trunk/channels/misdn_config.c
trunk/codecs/codec_a_mu.c
trunk/codecs/codec_adpcm.c
trunk/codecs/codec_alaw.c
trunk/codecs/codec_g722.c
trunk/codecs/codec_g726.c
trunk/codecs/codec_gsm.c
trunk/codecs/codec_ilbc.c
trunk/codecs/codec_lpc10.c
trunk/codecs/codec_speex.c
trunk/codecs/codec_ulaw.c
trunk/codecs/codec_zap.c
trunk/formats/format_g723.c
trunk/formats/format_g726.c
trunk/formats/format_g729.c
trunk/formats/format_gsm.c
trunk/formats/format_h263.c
trunk/formats/format_h264.c
trunk/formats/format_ilbc.c
trunk/formats/format_jpeg.c
trunk/formats/format_ogg_vorbis.c
trunk/formats/format_pcm.c
trunk/formats/format_sln.c
trunk/formats/format_vox.c
trunk/formats/format_wav.c
trunk/formats/format_wav_gsm.c
trunk/funcs/func_base64.c
trunk/funcs/func_blacklist.c
trunk/funcs/func_callerid.c
trunk/funcs/func_cdr.c
trunk/funcs/func_channel.c
trunk/funcs/func_curl.c
trunk/funcs/func_cut.c
trunk/funcs/func_db.c
trunk/funcs/func_devstate.c
trunk/funcs/func_dialgroup.c
trunk/funcs/func_enum.c
trunk/funcs/func_env.c
trunk/funcs/func_extstate.c
trunk/funcs/func_global.c
trunk/funcs/func_groupcount.c
trunk/funcs/func_iconv.c
trunk/funcs/func_lock.c
trunk/funcs/func_logic.c
trunk/funcs/func_math.c
trunk/funcs/func_md5.c
trunk/funcs/func_module.c
trunk/funcs/func_odbc.c
trunk/funcs/func_rand.c
trunk/funcs/func_realtime.c
trunk/funcs/func_sha1.c
trunk/funcs/func_shell.c
trunk/funcs/func_strings.c
trunk/funcs/func_timeout.c
trunk/funcs/func_uri.c
trunk/funcs/func_version.c
trunk/funcs/func_vmcount.c
trunk/funcs/func_volume.c
trunk/include/asterisk/abstract_jb.h
trunk/include/asterisk/astmm.h
trunk/include/asterisk/astobj.h
trunk/include/asterisk/cli.h
trunk/include/asterisk/compat.h
trunk/include/asterisk/config.h
trunk/include/asterisk/file.h
trunk/include/asterisk/lock.h
trunk/include/asterisk/logger.h
trunk/include/asterisk/manager.h
trunk/include/asterisk/md5.h
trunk/include/asterisk/plc.h
trunk/include/asterisk/sha1.h
trunk/include/asterisk/slinfactory.h
trunk/include/asterisk/stringfields.h
trunk/include/asterisk/strings.h
trunk/include/asterisk/time.h
trunk/include/asterisk/utils.h
trunk/main/abstract_jb.c
trunk/main/acl.c
trunk/main/adsistub.c
trunk/main/app.c
trunk/main/asterisk.c
trunk/main/astmm.c
trunk/main/audiohook.c
trunk/main/autoservice.c
trunk/main/callerid.c
trunk/main/cdr.c
trunk/main/channel.c
trunk/main/chanvars.c
trunk/main/cli.c
trunk/main/config.c
trunk/main/cryptostub.c
trunk/main/db.c
trunk/main/devicestate.c
trunk/main/dial.c
trunk/main/dlfcn.c
trunk/main/dns.c
trunk/main/dnsmgr.c
trunk/main/dsp.c
trunk/main/enum.c
trunk/main/event.c
trunk/main/file.c
trunk/main/fixedjitterbuf.c
trunk/main/frame.c
trunk/main/fskmodem.c
trunk/main/hashtab.c
trunk/main/http.c
trunk/main/image.c
trunk/main/indications.c
trunk/main/io.c
trunk/main/jitterbuf.c
trunk/main/loader.c
trunk/main/logger.c
trunk/main/manager.c
trunk/main/md5.c
trunk/main/netsock.c
trunk/main/pbx.c
trunk/main/plc.c
trunk/main/privacy.c
trunk/main/rtp.c
trunk/main/say.c
trunk/main/sched.c
trunk/main/sha1.c
trunk/main/slinfactory.c
trunk/main/srv.c
trunk/main/stdtime/localtime.c
trunk/main/strcompat.c
trunk/main/tdd.c
trunk/main/term.c
trunk/main/threadstorage.c
trunk/main/translate.c
trunk/main/udptl.c
trunk/main/utils.c
trunk/pbx/dundi-parser.c
trunk/pbx/pbx_ael.c
trunk/pbx/pbx_config.c
trunk/pbx/pbx_dundi.c
trunk/pbx/pbx_gtkconsole.c
trunk/pbx/pbx_loopback.c
trunk/pbx/pbx_lua.c
trunk/pbx/pbx_realtime.c
trunk/pbx/pbx_spool.c
trunk/res/res_adsi.c
trunk/res/res_ael_share.c
trunk/res/res_agi.c
trunk/res/res_clioriginate.c
trunk/res/res_config_odbc.c
trunk/res/res_config_pgsql.c
trunk/res/res_config_sqlite.c
trunk/res/res_convert.c
trunk/res/res_crypto.c
trunk/res/res_features.c
trunk/res/res_indications.c
trunk/res/res_jabber.c
trunk/res/res_limit.c
trunk/res/res_monitor.c
trunk/res/res_musiconhold.c
trunk/res/res_odbc.c
trunk/res/res_realtime.c
trunk/res/res_smdi.c
trunk/res/res_speech.c
trunk/utils/ael_main.c
trunk/utils/hashtest.c
trunk/utils/hashtest2.c
Modified: trunk/Makefile.rules
URL: http://svn.digium.com/view/asterisk/trunk/Makefile.rules?view=diff&rev=89333&r1=89332&r2=89333
==============================================================================
--- trunk/Makefile.rules (original)
+++ trunk/Makefile.rules Fri Nov 16 14:04:58 2007
@@ -38,7 +38,7 @@
# ppro's, etc, as well as the AMD K6 and K7.
#K6OPT=-DK6OPT
- OPTIMIZE?=-O6
+ OPTIMIZE?=-O2
ASTCFLAGS+=$(OPTIMIZE)
endif
Modified: trunk/apps/app_adsiprog.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_adsiprog.c?view=diff&rev=89333&r1=89332&r2=89333
==============================================================================
--- trunk/apps/app_adsiprog.c (original)
+++ trunk/apps/app_adsiprog.c Fri Nov 16 14:04:58 2007
@@ -33,13 +33,8 @@
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
-#include <sys/types.h>
#include <netinet/in.h>
-#include <stdlib.h>
-#include <unistd.h>
-#include <string.h>
#include <ctype.h>
-#include <stdio.h>
#include <errno.h>
#include "asterisk/file.h"
Modified: trunk/apps/app_alarmreceiver.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_alarmreceiver.c?view=diff&rev=89333&r1=89332&r2=89333
==============================================================================
--- trunk/apps/app_alarmreceiver.c (original)
+++ trunk/apps/app_alarmreceiver.c Fri Nov 16 14:04:58 2007
@@ -33,12 +33,8 @@
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
-#include <string.h>
-#include <stdlib.h>
-#include <stdio.h>
#include <math.h>
#include <sys/wait.h>
-#include <unistd.h>
#include <sys/time.h>
#include "asterisk/lock.h"
Modified: trunk/apps/app_amd.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_amd.c?view=diff&rev=89333&r1=89332&r2=89333
==============================================================================
--- trunk/apps/app_amd.c (original)
+++ trunk/apps/app_amd.c Fri Nov 16 14:04:58 2007
@@ -30,9 +30,6 @@
#include "asterisk.h"
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
-
-#include <stdio.h>
-#include <stdlib.h>
#include "asterisk/module.h"
#include "asterisk/lock.h"
Modified: trunk/apps/app_authenticate.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_authenticate.c?view=diff&rev=89333&r1=89332&r2=89333
==============================================================================
--- trunk/apps/app_authenticate.c (original)
+++ trunk/apps/app_authenticate.c Fri Nov 16 14:04:58 2007
@@ -29,11 +29,7 @@
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
-#include <stdlib.h>
-#include <unistd.h>
-#include <string.h>
#include <errno.h>
-#include <stdio.h>
#include "asterisk/lock.h"
#include "asterisk/file.h"
Modified: trunk/apps/app_cdr.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_cdr.c?view=diff&rev=89333&r1=89332&r2=89333
==============================================================================
--- trunk/apps/app_cdr.c (original)
+++ trunk/apps/app_cdr.c Fri Nov 16 14:04:58 2007
@@ -28,9 +28,6 @@
#include "asterisk.h"
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
-
-#include <sys/types.h>
-#include <stdlib.h>
#include "asterisk/channel.h"
#include "asterisk/module.h"
Modified: trunk/apps/app_chanisavail.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_chanisavail.c?view=diff&rev=89333&r1=89332&r2=89333
==============================================================================
--- trunk/apps/app_chanisavail.c (original)
+++ trunk/apps/app_chanisavail.c Fri Nov 16 14:04:58 2007
@@ -31,10 +31,6 @@
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
-#include <stdlib.h>
-#include <stdio.h>
-#include <string.h>
-#include <unistd.h>
#include <errno.h>
#include <sys/ioctl.h>
Modified: trunk/apps/app_channelredirect.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_channelredirect.c?view=diff&rev=89333&r1=89332&r2=89333
==============================================================================
--- trunk/apps/app_channelredirect.c (original)
+++ trunk/apps/app_channelredirect.c Fri Nov 16 14:04:58 2007
@@ -26,11 +26,6 @@
#include "asterisk.h"
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
-
-#include <stdio.h>
-#include <stdlib.h>
-#include <unistd.h>
-#include <string.h>
#include "asterisk/file.h"
#include "asterisk/logger.h"
Modified: trunk/apps/app_chanspy.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_chanspy.c?view=diff&rev=89333&r1=89332&r2=89333
==============================================================================
--- trunk/apps/app_chanspy.c (original)
+++ trunk/apps/app_chanspy.c Fri Nov 16 14:04:58 2007
@@ -31,10 +31,6 @@
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
-#include <stdlib.h>
-#include <stdio.h>
-#include <string.h>
-#include <unistd.h>
#include <ctype.h>
#include "asterisk/file.h"
Modified: trunk/apps/app_controlplayback.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_controlplayback.c?view=diff&rev=89333&r1=89332&r2=89333
==============================================================================
--- trunk/apps/app_controlplayback.c (original)
+++ trunk/apps/app_controlplayback.c Fri Nov 16 14:04:58 2007
@@ -28,10 +28,6 @@
#include "asterisk.h"
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
-
-#include <stdlib.h>
-#include <stdio.h>
-#include <string.h>
#include "asterisk/lock.h"
#include "asterisk/file.h"
Modified: trunk/apps/app_db.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_db.c?view=diff&rev=89333&r1=89332&r2=89333
==============================================================================
--- trunk/apps/app_db.c (original)
+++ trunk/apps/app_db.c Fri Nov 16 14:04:58 2007
@@ -31,12 +31,6 @@
#include "asterisk.h"
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
-
-#include <stdlib.h>
-#include <stdio.h>
-#include <string.h>
-#include <unistd.h>
-#include <sys/types.h>
#include "asterisk/options.h"
#include "asterisk/file.h"
Modified: trunk/apps/app_dial.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_dial.c?view=diff&rev=89333&r1=89332&r2=89333
==============================================================================
--- trunk/apps/app_dial.c (original)
+++ trunk/apps/app_dial.c Fri Nov 16 14:04:58 2007
@@ -29,11 +29,7 @@
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
-#include <stdlib.h>
#include <errno.h>
-#include <unistd.h>
-#include <string.h>
-#include <stdio.h>
#include <sys/time.h>
#include <sys/signal.h>
#include <sys/stat.h>
Modified: trunk/apps/app_dictate.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_dictate.c?view=diff&rev=89333&r1=89332&r2=89333
==============================================================================
--- trunk/apps/app_dictate.c (original)
+++ trunk/apps/app_dictate.c Fri Nov 16 14:04:58 2007
@@ -31,10 +31,6 @@
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
-#include <stdlib.h>
-#include <stdio.h>
-#include <string.h>
-#include <unistd.h>
#include <sys/stat.h>
#include "asterisk/file.h"
Modified: trunk/apps/app_directed_pickup.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_directed_pickup.c?view=diff&rev=89333&r1=89332&r2=89333
==============================================================================
--- trunk/apps/app_directed_pickup.c (original)
+++ trunk/apps/app_directed_pickup.c Fri Nov 16 14:04:58 2007
@@ -28,11 +28,6 @@
#include "asterisk.h"
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
-
-#include <stdlib.h>
-#include <stdio.h>
-#include <string.h>
-#include <unistd.h>
#include "asterisk/file.h"
#include "asterisk/logger.h"
Modified: trunk/apps/app_directory.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_directory.c?view=diff&rev=89333&r1=89332&r2=89333
==============================================================================
--- trunk/apps/app_directory.c (original)
+++ trunk/apps/app_directory.c Fri Nov 16 14:04:58 2007
@@ -29,10 +29,7 @@
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
-#include <string.h>
#include <ctype.h>
-#include <stdlib.h>
-#include <stdio.h>
#include "asterisk/lock.h"
#include "asterisk/file.h"
Modified: trunk/apps/app_disa.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_disa.c?view=diff&rev=89333&r1=89332&r2=89333
==============================================================================
--- trunk/apps/app_disa.c (original)
+++ trunk/apps/app_disa.c Fri Nov 16 14:04:58 2007
@@ -30,9 +30,6 @@
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
-#include <string.h>
-#include <stdlib.h>
-#include <stdio.h>
#include <math.h>
#include <sys/time.h>
Modified: trunk/apps/app_dumpchan.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_dumpchan.c?view=diff&rev=89333&r1=89332&r2=89333
==============================================================================
--- trunk/apps/app_dumpchan.c (original)
+++ trunk/apps/app_dumpchan.c Fri Nov 16 14:04:58 2007
@@ -31,11 +31,6 @@
#include "asterisk.h"
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
-
-#include <stdlib.h>
-#include <stdio.h>
-#include <string.h>
-#include <unistd.h>
#include "asterisk/file.h"
#include "asterisk/logger.h"
Modified: trunk/apps/app_echo.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_echo.c?view=diff&rev=89333&r1=89332&r2=89333
==============================================================================
--- trunk/apps/app_echo.c (original)
+++ trunk/apps/app_echo.c Fri Nov 16 14:04:58 2007
@@ -28,11 +28,6 @@
#include "asterisk.h"
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
-
-#include <stdlib.h>
-#include <stdio.h>
-#include <unistd.h>
-#include <string.h>
#include "asterisk/lock.h"
#include "asterisk/file.h"
Modified: trunk/apps/app_exec.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_exec.c?view=diff&rev=89333&r1=89332&r2=89333
==============================================================================
--- trunk/apps/app_exec.c (original)
+++ trunk/apps/app_exec.c Fri Nov 16 14:04:58 2007
@@ -29,11 +29,6 @@
#include "asterisk.h"
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
-
-#include <stdio.h>
-#include <stdlib.h>
-#include <unistd.h>
-#include <string.h>
#include "asterisk/file.h"
#include "asterisk/logger.h"
Modified: trunk/apps/app_externalivr.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_externalivr.c?view=diff&rev=89333&r1=89332&r2=89333
==============================================================================
--- trunk/apps/app_externalivr.c (original)
+++ trunk/apps/app_externalivr.c Fri Nov 16 14:04:58 2007
@@ -35,10 +35,6 @@
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
-#include <stdlib.h>
-#include <stdio.h>
-#include <string.h>
-#include <unistd.h>
#include <errno.h>
#include <signal.h>
Modified: trunk/apps/app_festival.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_festival.c?view=diff&rev=89333&r1=89332&r2=89333
==============================================================================
--- trunk/apps/app_festival.c (original)
+++ trunk/apps/app_festival.c Fri Nov 16 14:04:58 2007
@@ -31,16 +31,10 @@
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
-#include <sys/types.h>
-#include <stdlib.h>
-#include <unistd.h>
-#include <string.h>
-#include <stdlib.h>
#include <sys/socket.h>
#include <netdb.h>
#include <netinet/in.h>
#include <arpa/inet.h>
-#include <stdio.h>
#include <signal.h>
#include <fcntl.h>
#include <ctype.h>
Modified: trunk/apps/app_flash.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_flash.c?view=diff&rev=89333&r1=89332&r2=89333
==============================================================================
--- trunk/apps/app_flash.c (original)
+++ trunk/apps/app_flash.c Fri Nov 16 14:04:58 2007
@@ -33,9 +33,6 @@
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
-#include <stdlib.h>
-#include <stdio.h>
-#include <string.h>
#include <errno.h>
#include "asterisk/zapata.h"
Modified: trunk/apps/app_followme.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_followme.c?view=diff&rev=89333&r1=89332&r2=89333
==============================================================================
--- trunk/apps/app_followme.c (original)
+++ trunk/apps/app_followme.c Fri Nov 16 14:04:58 2007
@@ -32,10 +32,6 @@
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
-#include <stdio.h>
-#include <stdlib.h>
-#include <unistd.h>
-#include <string.h>
#include <signal.h>
#include "asterisk/lock.h"
Modified: trunk/apps/app_forkcdr.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_forkcdr.c?view=diff&rev=89333&r1=89332&r2=89333
==============================================================================
--- trunk/apps/app_forkcdr.c (original)
+++ trunk/apps/app_forkcdr.c Fri Nov 16 14:04:58 2007
@@ -29,11 +29,6 @@
#include "asterisk.h"
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
-
-#include <stdlib.h>
-#include <stdio.h>
-#include <string.h>
-#include <unistd.h>
#include "asterisk/file.h"
#include "asterisk/logger.h"
Modified: trunk/apps/app_getcpeid.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_getcpeid.c?view=diff&rev=89333&r1=89332&r2=89333
==============================================================================
--- trunk/apps/app_getcpeid.c (original)
+++ trunk/apps/app_getcpeid.c Fri Nov 16 14:04:58 2007
@@ -28,11 +28,6 @@
#include "asterisk.h"
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
-
-#include <stdlib.h>
-#include <stdio.h>
-#include <unistd.h>
-#include <string.h>
#include "asterisk/lock.h"
#include "asterisk/file.h"
Modified: trunk/apps/app_ices.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_ices.c?view=diff&rev=89333&r1=89332&r2=89333
==============================================================================
--- trunk/apps/app_ices.c (original)
+++ trunk/apps/app_ices.c Fri Nov 16 14:04:58 2007
@@ -31,11 +31,7 @@
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
-#include <string.h>
-#include <stdio.h>
#include <signal.h>
-#include <stdlib.h>
-#include <unistd.h>
#include <fcntl.h>
#include <sys/time.h>
#include <errno.h>
Modified: trunk/apps/app_image.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_image.c?view=diff&rev=89333&r1=89332&r2=89333
==============================================================================
--- trunk/apps/app_image.c (original)
+++ trunk/apps/app_image.c Fri Nov 16 14:04:58 2007
@@ -28,10 +28,6 @@
#include "asterisk.h"
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
-
-#include <stdlib.h>
-#include <stdio.h>
-#include <string.h>
#include "asterisk/lock.h"
#include "asterisk/file.h"
Modified: trunk/apps/app_ivrdemo.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_ivrdemo.c?view=diff&rev=89333&r1=89332&r2=89333
==============================================================================
--- trunk/apps/app_ivrdemo.c (original)
+++ trunk/apps/app_ivrdemo.c Fri Nov 16 14:04:58 2007
@@ -32,11 +32,6 @@
#include "asterisk.h"
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
-
-#include <stdio.h>
-#include <stdlib.h>
-#include <unistd.h>
-#include <string.h>
#include "asterisk/file.h"
#include "asterisk/logger.h"
Modified: trunk/apps/app_macro.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_macro.c?view=diff&rev=89333&r1=89332&r2=89333
==============================================================================
--- trunk/apps/app_macro.c (original)
+++ trunk/apps/app_macro.c Fri Nov 16 14:04:58 2007
@@ -28,12 +28,6 @@
#include "asterisk.h"
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
-
-#include <stdlib.h>
-#include <stdio.h>
-#include <string.h>
-#include <unistd.h>
-#include <sys/types.h>
#include "asterisk/file.h"
#include "asterisk/logger.h"
Modified: trunk/apps/app_meetme.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_meetme.c?view=diff&rev=89333&r1=89332&r2=89333
==============================================================================
--- trunk/apps/app_meetme.c (original)
+++ trunk/apps/app_meetme.c Fri Nov 16 14:04:58 2007
@@ -37,10 +37,6 @@
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
-#include <stdlib.h>
-#include <stdio.h>
-#include <string.h>
-#include <unistd.h>
#include <errno.h>
#include "asterisk/zapata.h"
Modified: trunk/apps/app_milliwatt.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_milliwatt.c?view=diff&rev=89333&r1=89332&r2=89333
==============================================================================
--- trunk/apps/app_milliwatt.c (original)
+++ trunk/apps/app_milliwatt.c Fri Nov 16 14:04:58 2007
@@ -29,10 +29,6 @@
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
-#include <stdlib.h>
-#include <stdio.h>
-#include <string.h>
-#include <unistd.h>
#include <errno.h>
#include "asterisk/lock.h"
Modified: trunk/apps/app_minivm.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_minivm.c?view=diff&rev=89333&r1=89332&r2=89333
==============================================================================
--- trunk/apps/app_minivm.c (original)
+++ trunk/apps/app_minivm.c Fri Nov 16 14:04:58 2007
@@ -141,23 +141,19 @@
* Back: \ref App_minivm
*/
-#include <stdlib.h>
+#include "asterisk.h"
+
+ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
+
#include <errno.h>
-#include <unistd.h>
-#include <string.h>
-#include <stdio.h>
#include <ctype.h>
#include <sys/time.h>
#include <sys/stat.h>
-#include <sys/types.h>
#include <sys/mman.h>
#include <time.h>
#include <dirent.h>
#include <locale.h>
-#include "asterisk.h"
-
-ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include "asterisk/astobj.h"
#include "asterisk/lock.h"
Modified: trunk/apps/app_mixmonitor.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_mixmonitor.c?view=diff&rev=89333&r1=89332&r2=89333
==============================================================================
--- trunk/apps/app_mixmonitor.c (original)
+++ trunk/apps/app_mixmonitor.c Fri Nov 16 14:04:58 2007
@@ -36,11 +36,6 @@
#include "asterisk.h"
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
-
-#include <stdlib.h>
-#include <stdio.h>
-#include <string.h>
-#include <unistd.h>
#include "asterisk/file.h"
#include "asterisk/logger.h"
Modified: trunk/apps/app_morsecode.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_morsecode.c?view=diff&rev=89333&r1=89332&r2=89333
==============================================================================
--- trunk/apps/app_morsecode.c (original)
+++ trunk/apps/app_morsecode.c Fri Nov 16 14:04:58 2007
@@ -27,11 +27,6 @@
#include "asterisk.h"
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
-
-#include <stdio.h>
-#include <stdlib.h>
-#include <unistd.h>
-#include <string.h>
#include "asterisk/file.h"
#include "asterisk/logger.h"
Modified: trunk/apps/app_mp3.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_mp3.c?view=diff&rev=89333&r1=89332&r2=89333
==============================================================================
--- trunk/apps/app_mp3.c (original)
+++ trunk/apps/app_mp3.c Fri Nov 16 14:04:58 2007
@@ -29,13 +29,9 @@
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
-#include <string.h>
-#include <stdio.h>
-#include <signal.h>
-#include <stdlib.h>
-#include <unistd.h>
#include <fcntl.h>
#include <sys/time.h>
+#include <signal.h>
#include "asterisk/lock.h"
#include "asterisk/file.h"
Modified: trunk/apps/app_nbscat.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_nbscat.c?view=diff&rev=89333&r1=89332&r2=89333
==============================================================================
--- trunk/apps/app_nbscat.c (original)
+++ trunk/apps/app_nbscat.c Fri Nov 16 14:04:58 2007
@@ -29,14 +29,10 @@
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
-#include <string.h>
-#include <stdio.h>
-#include <signal.h>
-#include <stdlib.h>
-#include <unistd.h>
#include <fcntl.h>
#include <sys/time.h>
#include <sys/socket.h>
+#include <signal.h>
#include "asterisk/lock.h"
#include "asterisk/file.h"
Modified: trunk/apps/app_osplookup.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_osplookup.c?view=diff&rev=89333&r1=89332&r2=89333
==============================================================================
--- trunk/apps/app_osplookup.c (original)
+++ trunk/apps/app_osplookup.c Fri Nov 16 14:04:58 2007
@@ -37,10 +37,6 @@
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
-#include <sys/types.h>
-#include <stdio.h>
-#include <string.h>
-#include <unistd.h>
#include <errno.h>
#include <osp/osp.h>
#include <osp/osputils.h>
Modified: trunk/apps/app_page.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_page.c?view=diff&rev=89333&r1=89332&r2=89333
==============================================================================
--- trunk/apps/app_page.c (original)
+++ trunk/apps/app_page.c Fri Nov 16 14:04:58 2007
@@ -34,10 +34,6 @@
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
-#include <stdio.h>
-#include <stdlib.h>
-#include <unistd.h>
-#include <string.h>
#include <errno.h>
#include "asterisk/options.h"
Modified: trunk/apps/app_parkandannounce.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_parkandannounce.c?view=diff&rev=89333&r1=89332&r2=89333
==============================================================================
--- trunk/apps/app_parkandannounce.c (original)
+++ trunk/apps/app_parkandannounce.c Fri Nov 16 14:04:58 2007
@@ -32,12 +32,6 @@
#include "asterisk.h"
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
-
-#include <stdlib.h>
-#include <stdio.h>
-#include <string.h>
-#include <unistd.h>
-#include <sys/types.h>
#include "asterisk/file.h"
#include "asterisk/logger.h"
Modified: trunk/apps/app_playback.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_playback.c?view=diff&rev=89333&r1=89332&r2=89333
==============================================================================
--- trunk/apps/app_playback.c (original)
+++ trunk/apps/app_playback.c Fri Nov 16 14:04:58 2007
@@ -28,10 +28,6 @@
#include "asterisk.h"
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
-
-#include <string.h>
-#include <stdlib.h>
-#include <stdio.h>
#include "asterisk/lock.h"
#include "asterisk/file.h"
Modified: trunk/apps/app_privacy.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_privacy.c?view=diff&rev=89333&r1=89332&r2=89333
==============================================================================
--- trunk/apps/app_privacy.c (original)
+++ trunk/apps/app_privacy.c Fri Nov 16 14:04:58 2007
@@ -28,10 +28,6 @@
#include "asterisk.h"
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
-
-#include <stdlib.h>
-#include <stdio.h>
-#include <string.h>
#include "asterisk/lock.h"
#include "asterisk/file.h"
Modified: trunk/apps/app_queue.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_queue.c?view=diff&rev=89333&r1=89332&r2=89333
==============================================================================
--- trunk/apps/app_queue.c (original)
+++ trunk/apps/app_queue.c Fri Nov 16 14:04:58 2007
@@ -60,12 +60,7 @@
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
-#include <stdlib.h>
#include <errno.h>
-#include <unistd.h>
-#include <string.h>
-#include <stdlib.h>
-#include <stdio.h>
#include <sys/time.h>
#include <sys/signal.h>
#include <netinet/in.h>
Modified: trunk/apps/app_read.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_read.c?view=diff&rev=89333&r1=89332&r2=89333
==============================================================================
--- trunk/apps/app_read.c (original)
+++ trunk/apps/app_read.c Fri Nov 16 14:04:58 2007
@@ -28,10 +28,6 @@
#include "asterisk.h"
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
-
-#include <stdlib.h>
-#include <stdio.h>
-#include <string.h>
#include "asterisk/lock.h"
#include "asterisk/file.h"
Modified: trunk/apps/app_readexten.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_readexten.c?view=diff&rev=89333&r1=89332&r2=89333
==============================================================================
--- trunk/apps/app_readexten.c (original)
+++ trunk/apps/app_readexten.c Fri Nov 16 14:04:58 2007
@@ -28,10 +28,6 @@
#include "asterisk.h"
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
-
-#include <stdlib.h>
-#include <stdio.h>
-#include <string.h>
#include "asterisk/lock.h"
#include "asterisk/file.h"
Modified: trunk/apps/app_readfile.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_readfile.c?view=diff&rev=89333&r1=89332&r2=89333
==============================================================================
--- trunk/apps/app_readfile.c (original)
+++ trunk/apps/app_readfile.c Fri Nov 16 14:04:58 2007
@@ -28,11 +28,6 @@
#include "asterisk.h"
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
-
-#include <stdio.h>
-#include <stdlib.h>
-#include <unistd.h>
-#include <string.h>
#include "asterisk/file.h"
#include "asterisk/logger.h"
Modified: trunk/apps/app_record.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_record.c?view=diff&rev=89333&r1=89332&r2=89333
==============================================================================
--- trunk/apps/app_record.c (original)
+++ trunk/apps/app_record.c Fri Nov 16 14:04:58 2007
@@ -28,10 +28,6 @@
#include "asterisk.h"
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
-
-#include <stdlib.h>
-#include <stdio.h>
-#include <string.h>
#include "asterisk/lock.h"
#include "asterisk/file.h"
Modified: trunk/apps/app_rpt.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_rpt.c?view=diff&rev=89333&r1=89332&r2=89333
==============================================================================
--- trunk/apps/app_rpt.c (original)
+++ trunk/apps/app_rpt.c Fri Nov 16 14:04:58 2007
@@ -209,12 +209,7 @@
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include <signal.h>
-#include <stdio.h>
-#include <unistd.h>
-#include <string.h>
-#include <stdlib.h>
#include <search.h>
-#include <sys/types.h>
#include <sys/stat.h>
#include <errno.h>
#include <dirent.h>
Modified: trunk/apps/app_sayunixtime.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_sayunixtime.c?view=diff&rev=89333&r1=89332&r2=89333
==============================================================================
--- trunk/apps/app_sayunixtime.c (original)
+++ trunk/apps/app_sayunixtime.c Fri Nov 16 14:04:58 2007
@@ -28,11 +28,6 @@
#include "asterisk.h"
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
-
-#include <stdio.h>
-#include <stdlib.h>
-#include <unistd.h>
-#include <string.h>
#include "asterisk/file.h"
#include "asterisk/logger.h"
Modified: trunk/apps/app_senddtmf.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_senddtmf.c?view=diff&rev=89333&r1=89332&r2=89333
==============================================================================
--- trunk/apps/app_senddtmf.c (original)
+++ trunk/apps/app_senddtmf.c Fri Nov 16 14:04:58 2007
@@ -28,10 +28,6 @@
#include "asterisk.h"
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
-
-#include <stdlib.h>
-#include <stdio.h>
-#include <string.h>
#include "asterisk/lock.h"
#include "asterisk/file.h"
Modified: trunk/apps/app_sendtext.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_sendtext.c?view=diff&rev=89333&r1=89332&r2=89333
==============================================================================
--- trunk/apps/app_sendtext.c (original)
+++ trunk/apps/app_sendtext.c Fri Nov 16 14:04:58 2007
@@ -30,10 +30,6 @@
#include "asterisk.h"
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
-
-#include <stdlib.h>
-#include <stdio.h>
-#include <string.h>
#include "asterisk/lock.h"
#include "asterisk/file.h"
Modified: trunk/apps/app_setcallerid.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_setcallerid.c?view=diff&rev=89333&r1=89332&r2=89333
==============================================================================
--- trunk/apps/app_setcallerid.c (original)
+++ trunk/apps/app_setcallerid.c Fri Nov 16 14:04:58 2007
@@ -28,10 +28,6 @@
#include "asterisk.h"
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
-
-#include <stdlib.h>
-#include <stdio.h>
-#include <string.h>
#include "asterisk/lock.h"
#include "asterisk/file.h"
Modified: trunk/apps/app_skel.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_skel.c?view=diff&rev=89333&r1=89332&r2=89333
==============================================================================
--- trunk/apps/app_skel.c (original)
+++ trunk/apps/app_skel.c Fri Nov 16 14:04:58 2007
@@ -33,11 +33,6 @@
#include "asterisk.h"
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
-
-#include <stdio.h>
-#include <stdlib.h>
-#include <unistd.h>
-#include <string.h>
#include "asterisk/file.h"
#include "asterisk/logger.h"
Modified: trunk/apps/app_sms.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_sms.c?view=diff&rev=89333&r1=89332&r2=89333
==============================================================================
--- trunk/apps/app_sms.c (original)
+++ trunk/apps/app_sms.c Fri Nov 16 14:04:58 2007
@@ -38,14 +38,9 @@
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
-#include <stdlib.h>
-#include <stdio.h>
-#include <string.h>
-#include <unistd.h>
#include <errno.h>
#include <dirent.h>
#include <ctype.h>
-#include <sys/types.h>
#include <sys/stat.h>
#include "asterisk/lock.h"
Modified: trunk/apps/app_softhangup.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_softhangup.c?view=diff&rev=89333&r1=89332&r2=89333
==============================================================================
--- trunk/apps/app_softhangup.c (original)
+++ trunk/apps/app_softhangup.c Fri Nov 16 14:04:58 2007
@@ -28,12 +28,6 @@
#include "asterisk.h"
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
-
-#include <stdlib.h>
-#include <stdio.h>
-#include <string.h>
-#include <unistd.h>
-#include <sys/types.h>
#include "asterisk/file.h"
#include "asterisk/logger.h"
Modified: trunk/apps/app_speech_utils.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_speech_utils.c?view=diff&rev=89333&r1=89332&r2=89333
==============================================================================
--- trunk/apps/app_speech_utils.c (original)
+++ trunk/apps/app_speech_utils.c Fri Nov 16 14:04:58 2007
@@ -28,11 +28,6 @@
#include "asterisk.h"
ASTERISK_FILE_VERSION(__FILE__, "$Revision$");
-
-#include <stdio.h>
-#include <stdlib.h>
-#include <unistd.h>
-#include <string.h>
#include "asterisk/file.h"
#include "asterisk/logger.h"
Modified: trunk/apps/app_stack.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_stack.c?view=diff&rev=89333&r1=89332&r2=89333
==============================================================================
--- trunk/apps/app_stack.c (original)
+++ trunk/apps/app_stack.c Fri Nov 16 14:04:58 2007
@@ -28,11 +28,6 @@
#include "asterisk.h"
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
-
-#include <stdio.h>
-#include <stdlib.h>
-#include <unistd.h>
-#include <string.h>
#include "asterisk/options.h"
#include "asterisk/logger.h"
Modified: trunk/apps/app_system.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_system.c?view=diff&rev=89333&r1=89332&r2=89333
==============================================================================
--- trunk/apps/app_system.c (original)
+++ trunk/apps/app_system.c Fri Nov 16 14:04:58 2007
@@ -29,10 +29,6 @@
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
-#include <stdlib.h>
-#include <stdio.h>
-#include <unistd.h>
-#include <string.h>
#include <errno.h>
#include "asterisk/lock.h"
Modified: trunk/apps/app_talkdetect.c
[... 3961 lines stripped ...]
More information about the svn-commits
mailing list