[svn-commits] rizzo: trunk r89428 - /trunk/codecs/

SVN commits to the Digium repositories svn-commits at lists.digium.com
Mon Nov 19 13:51:56 CST 2007


Author: rizzo
Date: Mon Nov 19 13:51:55 2007
New Revision: 89428

URL: http://svn.digium.com/view/asterisk?view=rev&rev=89428
Log:
remove some useless includes from codecs

Modified:
    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

Modified: trunk/codecs/codec_a_mu.c
URL: http://svn.digium.com/view/asterisk/trunk/codecs/codec_a_mu.c?view=diff&rev=89428&r1=89427&r2=89428
==============================================================================
--- trunk/codecs/codec_a_mu.c (original)
+++ trunk/codecs/codec_a_mu.c Mon Nov 19 13:51:55 2007
@@ -28,12 +28,9 @@
 ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
 
 #include <fcntl.h>
-#include <netinet/in.h>
 
-#include "asterisk/lock.h"
 #include "asterisk/module.h"
 #include "asterisk/translate.h"
-#include "asterisk/channel.h"
 #include "asterisk/alaw.h"
 #include "asterisk/ulaw.h"
 #include "asterisk/utils.h"

Modified: trunk/codecs/codec_adpcm.c
URL: http://svn.digium.com/view/asterisk/trunk/codecs/codec_adpcm.c?view=diff&rev=89428&r1=89427&r2=89428
==============================================================================
--- trunk/codecs/codec_adpcm.c (original)
+++ trunk/codecs/codec_adpcm.c Mon Nov 19 13:51:55 2007
@@ -32,15 +32,12 @@
 ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
 
 #include <fcntl.h>
-#include <netinet/in.h>
 
 #include "asterisk/lock.h"
 #include "asterisk/linkedlists.h"
 #include "asterisk/module.h"
 #include "asterisk/config.h"
-#include "asterisk/options.h"
 #include "asterisk/translate.h"
-#include "asterisk/channel.h"
 #include "asterisk/utils.h"
 
 /* define NOT_BLI to use a faster but not bit-level identical version */

Modified: trunk/codecs/codec_alaw.c
URL: http://svn.digium.com/view/asterisk/trunk/codecs/codec_alaw.c?view=diff&rev=89428&r1=89427&r2=89428
==============================================================================
--- trunk/codecs/codec_alaw.c (original)
+++ trunk/codecs/codec_alaw.c Mon Nov 19 13:51:55 2007
@@ -28,14 +28,10 @@
 ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
 
 #include <fcntl.h>
-#include <netinet/in.h>
 
-#include "asterisk/lock.h"
 #include "asterisk/module.h"
 #include "asterisk/config.h"
-#include "asterisk/options.h"
 #include "asterisk/translate.h"
-#include "asterisk/channel.h"
 #include "asterisk/alaw.h"
 #include "asterisk/utils.h"
 

Modified: trunk/codecs/codec_g722.c
URL: http://svn.digium.com/view/asterisk/trunk/codecs/codec_g722.c?view=diff&rev=89428&r1=89427&r2=89428
==============================================================================
--- trunk/codecs/codec_g722.c (original)
+++ trunk/codecs/codec_g722.c Mon Nov 19 13:51:55 2007
@@ -31,15 +31,11 @@
 ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
 
 #include <fcntl.h>
-#include <netinet/in.h>
-
-#include "asterisk/lock.h"
+
 #include "asterisk/linkedlists.h"
 #include "asterisk/module.h"
 #include "asterisk/config.h"
-#include "asterisk/options.h"
 #include "asterisk/translate.h"
-#include "asterisk/channel.h"
 #include "asterisk/utils.h"
 
 #define BUFFER_SAMPLES   8096	/* size for the translation buffers */

Modified: trunk/codecs/codec_g726.c
URL: http://svn.digium.com/view/asterisk/trunk/codecs/codec_g726.c?view=diff&rev=89428&r1=89427&r2=89428
==============================================================================
--- trunk/codecs/codec_g726.c (original)
+++ trunk/codecs/codec_g726.c Mon Nov 19 13:51:55 2007
@@ -32,15 +32,12 @@
 ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
 
 #include <fcntl.h>
-#include <netinet/in.h>
 
 #include "asterisk/lock.h"
 #include "asterisk/linkedlists.h"
 #include "asterisk/module.h"
 #include "asterisk/config.h"
-#include "asterisk/options.h"
 #include "asterisk/translate.h"
-#include "asterisk/channel.h"
 #include "asterisk/utils.h"
 
 #define WANT_ASM

Modified: trunk/codecs/codec_gsm.c
URL: http://svn.digium.com/view/asterisk/trunk/codecs/codec_gsm.c?view=diff&rev=89428&r1=89427&r2=89428
==============================================================================
--- trunk/codecs/codec_gsm.c (original)
+++ trunk/codecs/codec_gsm.c Mon Nov 19 13:51:55 2007
@@ -35,14 +35,10 @@
 ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
 
 #include <fcntl.h>
-#include <netinet/in.h>
-
-#include "asterisk/lock.h"
+
 #include "asterisk/translate.h"
 #include "asterisk/config.h"
-#include "asterisk/options.h"
 #include "asterisk/module.h"
-#include "asterisk/channel.h"
 #include "asterisk/utils.h"
 
 #ifdef HAVE_GSM_HEADER

Modified: trunk/codecs/codec_ilbc.c
URL: http://svn.digium.com/view/asterisk/trunk/codecs/codec_ilbc.c?view=diff&rev=89428&r1=89427&r2=89428
==============================================================================
--- trunk/codecs/codec_ilbc.c (original)
+++ trunk/codecs/codec_ilbc.c Mon Nov 19 13:51:55 2007
@@ -30,12 +30,9 @@
 ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
 
 #include <fcntl.h>
-#include <netinet/in.h>
-
-#include "asterisk/lock.h"
+
 #include "asterisk/translate.h"
 #include "asterisk/module.h"
-#include "asterisk/channel.h"
 #include "asterisk/utils.h"
 
 #include "ilbc/iLBC_encode.h"

Modified: trunk/codecs/codec_lpc10.c
URL: http://svn.digium.com/view/asterisk/trunk/codecs/codec_lpc10.c?view=diff&rev=89428&r1=89427&r2=89428
==============================================================================
--- trunk/codecs/codec_lpc10.c (original)
+++ trunk/codecs/codec_lpc10.c Mon Nov 19 13:51:55 2007
@@ -32,14 +32,10 @@
 ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
 
 #include <fcntl.h>
-#include <netinet/in.h>
-
-#include "asterisk/lock.h"
+
 #include "asterisk/translate.h"
 #include "asterisk/config.h"
-#include "asterisk/options.h"
 #include "asterisk/module.h"
-#include "asterisk/channel.h"
 #include "asterisk/utils.h"
 
 #include "lpc10/lpc10.h"

Modified: trunk/codecs/codec_speex.c
URL: http://svn.digium.com/view/asterisk/trunk/codecs/codec_speex.c?view=diff&rev=89428&r1=89427&r2=89428
==============================================================================
--- trunk/codecs/codec_speex.c (original)
+++ trunk/codecs/codec_speex.c Mon Nov 19 13:51:55 2007
@@ -39,7 +39,6 @@
 ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
 
 #include <fcntl.h>
-#include <netinet/in.h>
 #include <speex/speex.h>
 
 /* We require a post 1.1.8 version of Speex to enable preprocessing
@@ -48,12 +47,9 @@
 #include <speex/speex_preprocess.h>
 #endif
 
-#include "asterisk/lock.h"
 #include "asterisk/translate.h"
 #include "asterisk/module.h"
 #include "asterisk/config.h"
-#include "asterisk/options.h"
-#include "asterisk/channel.h"
 #include "asterisk/utils.h"
 
 /* Sample frame data */

Modified: trunk/codecs/codec_ulaw.c
URL: http://svn.digium.com/view/asterisk/trunk/codecs/codec_ulaw.c?view=diff&rev=89428&r1=89427&r2=89428
==============================================================================
--- trunk/codecs/codec_ulaw.c (original)
+++ trunk/codecs/codec_ulaw.c Mon Nov 19 13:51:55 2007
@@ -28,14 +28,10 @@
 ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
 
 #include <fcntl.h>
-#include <netinet/in.h>
 
-#include "asterisk/lock.h"
 #include "asterisk/module.h"
 #include "asterisk/config.h"
-#include "asterisk/options.h"
 #include "asterisk/translate.h"
-#include "asterisk/channel.h"
 #include "asterisk/ulaw.h"
 #include "asterisk/utils.h"
 

Modified: trunk/codecs/codec_zap.c
URL: http://svn.digium.com/view/asterisk/trunk/codecs/codec_zap.c?view=diff&rev=89428&r1=89427&r2=89428
==============================================================================
--- trunk/codecs/codec_zap.c (original)
+++ trunk/codecs/codec_zap.c Mon Nov 19 13:51:55 2007
@@ -44,7 +44,6 @@
 #include "asterisk/lock.h"
 #include "asterisk/translate.h"
 #include "asterisk/config.h"
-#include "asterisk/options.h"
 #include "asterisk/module.h"
 #include "asterisk/cli.h"
 #include "asterisk/channel.h"




More information about the svn-commits mailing list