[svn-commits] rizzo: trunk r89519 - in /trunk: apps/ include/asterisk/

SVN commits to the Digium repositories svn-commits at lists.digium.com
Wed Nov 21 20:07:33 CST 2007


Author: rizzo
Date: Wed Nov 21 20:07:33 2007
New Revision: 89519

URL: http://svn.digium.com/view/asterisk?view=rev&rev=89519
Log:
more removal of redundant headers


Modified:
    trunk/apps/app_controlplayback.c
    trunk/apps/app_dictate.c
    trunk/apps/app_directory.c
    trunk/apps/app_mixmonitor.c
    trunk/apps/app_readexten.c
    trunk/apps/app_senddtmf.c
    trunk/apps/app_stack.c
    trunk/include/asterisk/audiohook.h

Modified: trunk/apps/app_controlplayback.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_controlplayback.c?view=diff&rev=89519&r1=89518&r2=89519
==============================================================================
--- trunk/apps/app_controlplayback.c (original)
+++ trunk/apps/app_controlplayback.c Wed Nov 21 20:07:33 2007
@@ -29,14 +29,9 @@
 
 ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
 
-#include "asterisk/lock.h"
-#include "asterisk/file.h"
-#include "asterisk/channel.h"
 #include "asterisk/pbx.h"
 #include "asterisk/app.h"
 #include "asterisk/module.h"
-#include "asterisk/translate.h"
-#include "asterisk/utils.h"
 
 static const char *app = "ControlPlayback";
 

Modified: trunk/apps/app_dictate.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_dictate.c?view=diff&rev=89519&r1=89518&r2=89519
==============================================================================
--- trunk/apps/app_dictate.c (original)
+++ trunk/apps/app_dictate.c Wed Nov 21 20:07:33 2007
@@ -35,11 +35,9 @@
 
 #include "asterisk/paths.h"	/* use ast_config_AST_SPOOL_DIR */
 #include "asterisk/file.h"
-#include "asterisk/channel.h"
 #include "asterisk/pbx.h"
 #include "asterisk/module.h"
 #include "asterisk/say.h"
-#include "asterisk/lock.h"
 #include "asterisk/app.h"
 
 static char *app = "Dictate";

Modified: trunk/apps/app_directory.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_directory.c?view=diff&rev=89519&r1=89518&r2=89519
==============================================================================
--- trunk/apps/app_directory.c (original)
+++ trunk/apps/app_directory.c Wed Nov 21 20:07:33 2007
@@ -32,14 +32,10 @@
 #include <ctype.h>
 
 #include "asterisk/paths.h"	/* use ast_config_AST_SPOOL_DIR */
-#include "asterisk/lock.h"
 #include "asterisk/file.h"
-#include "asterisk/channel.h"
 #include "asterisk/pbx.h"
 #include "asterisk/module.h"
-#include "asterisk/config.h"
 #include "asterisk/say.h"
-#include "asterisk/utils.h"
 #include "asterisk/app.h"
 
 #ifdef ODBC_STORAGE

Modified: trunk/apps/app_mixmonitor.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_mixmonitor.c?view=diff&rev=89519&r1=89518&r2=89519
==============================================================================
--- trunk/apps/app_mixmonitor.c (original)
+++ trunk/apps/app_mixmonitor.c Wed Nov 21 20:07:33 2007
@@ -39,15 +39,11 @@
 
 #include "asterisk/paths.h"	/* use ast_config_AST_MONITOR_DIR */
 #include "asterisk/file.h"
-#include "asterisk/channel.h"
 #include "asterisk/audiohook.h"
 #include "asterisk/pbx.h"
 #include "asterisk/module.h"
-#include "asterisk/lock.h"
 #include "asterisk/cli.h"
 #include "asterisk/app.h"
-#include "asterisk/linkedlists.h"
-#include "asterisk/utils.h"
 
 #define get_volfactor(x) x ? ((x > 0) ? (1 << x) : ((1 << abs(x)) * -1)) : 0
 

Modified: trunk/apps/app_readexten.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_readexten.c?view=diff&rev=89519&r1=89518&r2=89519
==============================================================================
--- trunk/apps/app_readexten.c (original)
+++ trunk/apps/app_readexten.c Wed Nov 21 20:07:33 2007
@@ -29,13 +29,10 @@
 
 ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
 
-#include "asterisk/lock.h"
 #include "asterisk/file.h"
-#include "asterisk/channel.h"
 #include "asterisk/pbx.h"
 #include "asterisk/app.h"
 #include "asterisk/module.h"
-#include "asterisk/utils.h"
 #include "asterisk/indications.h"
 
 enum {

Modified: trunk/apps/app_senddtmf.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_senddtmf.c?view=diff&rev=89519&r1=89518&r2=89519
==============================================================================
--- trunk/apps/app_senddtmf.c (original)
+++ trunk/apps/app_senddtmf.c Wed Nov 21 20:07:33 2007
@@ -29,13 +29,8 @@
 
 ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
 
-#include "asterisk/lock.h"
-#include "asterisk/file.h"
-#include "asterisk/channel.h"
 #include "asterisk/pbx.h"
 #include "asterisk/module.h"
-#include "asterisk/translate.h"
-#include "asterisk/utils.h"
 #include "asterisk/app.h"
 #include "asterisk/manager.h"
 

Modified: trunk/apps/app_stack.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_stack.c?view=diff&rev=89519&r1=89518&r2=89519
==============================================================================
--- trunk/apps/app_stack.c (original)
+++ trunk/apps/app_stack.c Wed Nov 21 20:07:33 2007
@@ -29,11 +29,8 @@
  
 ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
 
-#include "asterisk/channel.h"
-#include "asterisk/chanvars.h"
 #include "asterisk/pbx.h"
 #include "asterisk/module.h"
-#include "asterisk/config.h"
 #include "asterisk/app.h"
 #include "asterisk/manager.h"
 

Modified: trunk/include/asterisk/audiohook.h
URL: http://svn.digium.com/view/asterisk/trunk/include/asterisk/audiohook.h?view=diff&rev=89519&r1=89518&r2=89519
==============================================================================
--- trunk/include/asterisk/audiohook.h (original)
+++ trunk/include/asterisk/audiohook.h Wed Nov 21 20:07:33 2007
@@ -26,6 +26,10 @@
 #if defined(__cplusplus) || defined(c_plusplus)
 extern "C" {
 #endif
+
+/* these two are used in struct ast_audiohook */
+#include "asterisk/lock.h"
+#include "asterisk/linkedlists.h"
 
 #include "asterisk/slinfactory.h"
 




More information about the svn-commits mailing list