[asterisk-commits] rizzo: trunk r89516 - in /trunk: apps/ codecs/ formats/ main/ res/
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Wed Nov 21 19:03:02 CST 2007
Author: rizzo
Date: Wed Nov 21 19:03:02 2007
New Revision: 89516
URL: http://svn.digium.com/view/asterisk?view=rev&rev=89516
Log:
remove a number of #include <fcntl.h> which are either
useless or done elsewhere
Modified:
trunk/apps/app_mp3.c
trunk/apps/app_test.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/formats/format_ogg_vorbis.c
trunk/main/app.c
trunk/res/res_agi.c
trunk/res/res_crypto.c
Modified: trunk/apps/app_mp3.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_mp3.c?view=diff&rev=89516&r1=89515&r2=89516
==============================================================================
--- trunk/apps/app_mp3.c (original)
+++ trunk/apps/app_mp3.c Wed Nov 21 19:03:02 2007
@@ -29,7 +29,6 @@
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
-#include <fcntl.h>
#include <sys/time.h>
#include <signal.h>
Modified: trunk/apps/app_test.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_test.c?view=diff&rev=89516&r1=89515&r2=89516
==============================================================================
--- trunk/apps/app_test.c (original)
+++ trunk/apps/app_test.c Wed Nov 21 19:03:02 2007
@@ -31,7 +31,6 @@
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
-#include <fcntl.h>
#include <sys/stat.h>
#include "asterisk/paths.h" /* use ast_config_AST_LOG_DIR */
Modified: trunk/codecs/codec_a_mu.c
URL: http://svn.digium.com/view/asterisk/trunk/codecs/codec_a_mu.c?view=diff&rev=89516&r1=89515&r2=89516
==============================================================================
--- trunk/codecs/codec_a_mu.c (original)
+++ trunk/codecs/codec_a_mu.c Wed Nov 21 19:03:02 2007
@@ -26,8 +26,6 @@
#include "asterisk.h"
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
-
-#include <fcntl.h>
#include "asterisk/module.h"
#include "asterisk/translate.h"
Modified: trunk/codecs/codec_adpcm.c
URL: http://svn.digium.com/view/asterisk/trunk/codecs/codec_adpcm.c?view=diff&rev=89516&r1=89515&r2=89516
==============================================================================
--- trunk/codecs/codec_adpcm.c (original)
+++ trunk/codecs/codec_adpcm.c Wed Nov 21 19:03:02 2007
@@ -30,8 +30,6 @@
#include "asterisk.h"
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
-
-#include <fcntl.h>
#include "asterisk/lock.h"
#include "asterisk/linkedlists.h"
Modified: trunk/codecs/codec_alaw.c
URL: http://svn.digium.com/view/asterisk/trunk/codecs/codec_alaw.c?view=diff&rev=89516&r1=89515&r2=89516
==============================================================================
--- trunk/codecs/codec_alaw.c (original)
+++ trunk/codecs/codec_alaw.c Wed Nov 21 19:03:02 2007
@@ -26,8 +26,6 @@
#include "asterisk.h"
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
-
-#include <fcntl.h>
#include "asterisk/module.h"
#include "asterisk/config.h"
Modified: trunk/codecs/codec_g722.c
URL: http://svn.digium.com/view/asterisk/trunk/codecs/codec_g722.c?view=diff&rev=89516&r1=89515&r2=89516
==============================================================================
--- trunk/codecs/codec_g722.c (original)
+++ trunk/codecs/codec_g722.c Wed Nov 21 19:03:02 2007
@@ -29,8 +29,6 @@
#include "asterisk.h"
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
-
-#include <fcntl.h>
#include "asterisk/linkedlists.h"
#include "asterisk/module.h"
Modified: trunk/codecs/codec_g726.c
URL: http://svn.digium.com/view/asterisk/trunk/codecs/codec_g726.c?view=diff&rev=89516&r1=89515&r2=89516
==============================================================================
--- trunk/codecs/codec_g726.c (original)
+++ trunk/codecs/codec_g726.c Wed Nov 21 19:03:02 2007
@@ -30,8 +30,6 @@
#include "asterisk.h"
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
-
-#include <fcntl.h>
#include "asterisk/lock.h"
#include "asterisk/linkedlists.h"
Modified: trunk/codecs/codec_gsm.c
URL: http://svn.digium.com/view/asterisk/trunk/codecs/codec_gsm.c?view=diff&rev=89516&r1=89515&r2=89516
==============================================================================
--- trunk/codecs/codec_gsm.c (original)
+++ trunk/codecs/codec_gsm.c Wed Nov 21 19:03:02 2007
@@ -33,8 +33,6 @@
#include "asterisk.h"
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
-
-#include <fcntl.h>
#include "asterisk/translate.h"
#include "asterisk/config.h"
Modified: trunk/codecs/codec_ilbc.c
URL: http://svn.digium.com/view/asterisk/trunk/codecs/codec_ilbc.c?view=diff&rev=89516&r1=89515&r2=89516
==============================================================================
--- trunk/codecs/codec_ilbc.c (original)
+++ trunk/codecs/codec_ilbc.c Wed Nov 21 19:03:02 2007
@@ -28,8 +28,6 @@
#include "asterisk.h"
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
-
-#include <fcntl.h>
#include "asterisk/translate.h"
#include "asterisk/module.h"
Modified: trunk/codecs/codec_lpc10.c
URL: http://svn.digium.com/view/asterisk/trunk/codecs/codec_lpc10.c?view=diff&rev=89516&r1=89515&r2=89516
==============================================================================
--- trunk/codecs/codec_lpc10.c (original)
+++ trunk/codecs/codec_lpc10.c Wed Nov 21 19:03:02 2007
@@ -30,8 +30,6 @@
#include "asterisk.h"
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
-
-#include <fcntl.h>
#include "asterisk/translate.h"
#include "asterisk/config.h"
Modified: trunk/codecs/codec_speex.c
URL: http://svn.digium.com/view/asterisk/trunk/codecs/codec_speex.c?view=diff&rev=89516&r1=89515&r2=89516
==============================================================================
--- trunk/codecs/codec_speex.c (original)
+++ trunk/codecs/codec_speex.c Wed Nov 21 19:03:02 2007
@@ -38,7 +38,6 @@
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
-#include <fcntl.h>
#include <speex/speex.h>
/* We require a post 1.1.8 version of Speex to enable preprocessing
Modified: trunk/codecs/codec_ulaw.c
URL: http://svn.digium.com/view/asterisk/trunk/codecs/codec_ulaw.c?view=diff&rev=89516&r1=89515&r2=89516
==============================================================================
--- trunk/codecs/codec_ulaw.c (original)
+++ trunk/codecs/codec_ulaw.c Wed Nov 21 19:03:02 2007
@@ -26,8 +26,6 @@
#include "asterisk.h"
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
-
-#include <fcntl.h>
#include "asterisk/module.h"
#include "asterisk/config.h"
Modified: trunk/formats/format_ogg_vorbis.c
URL: http://svn.digium.com/view/asterisk/trunk/formats/format_ogg_vorbis.c?view=diff&rev=89516&r1=89515&r2=89516
==============================================================================
--- trunk/formats/format_ogg_vorbis.c (original)
+++ trunk/formats/format_ogg_vorbis.c Wed Nov 21 19:03:02 2007
@@ -39,7 +39,6 @@
#ifdef _WIN32
#include <io.h>
-#include <fcntl.h>
#endif
#include "asterisk/mod_format.h"
Modified: trunk/main/app.c
URL: http://svn.digium.com/view/asterisk/trunk/main/app.c?view=diff&rev=89516&r1=89515&r2=89516
==============================================================================
--- trunk/main/app.c (original)
+++ trunk/main/app.c Wed Nov 21 19:03:02 2007
@@ -33,7 +33,6 @@
#include <sys/stat.h>
#include <sys/file.h>
#include <regex.h>
-#include <fcntl.h>
#include "asterisk/paths.h" /* use ast_config_AST_DATA_DIR */
#include "asterisk/channel.h"
Modified: trunk/res/res_agi.c
URL: http://svn.digium.com/view/asterisk/trunk/res/res_agi.c?view=diff&rev=89516&r1=89515&r2=89516
==============================================================================
--- trunk/res/res_agi.c (original)
+++ trunk/res/res_agi.c Wed Nov 21 19:03:02 2007
@@ -30,7 +30,6 @@
#include <math.h>
#include <signal.h>
#include <sys/time.h>
-#include <fcntl.h>
#include <sys/wait.h>
#include <sys/stat.h>
Modified: trunk/res/res_crypto.c
URL: http://svn.digium.com/view/asterisk/trunk/res/res_crypto.c?view=diff&rev=89516&r1=89515&r2=89516
==============================================================================
--- trunk/res/res_crypto.c (original)
+++ trunk/res/res_crypto.c Wed Nov 21 19:03:02 2007
@@ -38,11 +38,7 @@
#include <openssl/ssl.h>
#include <openssl/err.h>
#include <dirent.h>
-#include <fcntl.h>
-
-#include "asterisk/file.h"
-#include "asterisk/channel.h"
-#include "asterisk/say.h"
+
#include "asterisk/module.h"
#include "asterisk/crypto.h"
#include "asterisk/md5.h"
More information about the asterisk-commits
mailing list