[asterisk-commits] rizzo: trunk r89521 - in /trunk: apps/ funcs/

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Nov 21 20:30:58 CST 2007


Author: rizzo
Date: Wed Nov 21 20:30:58 2007
New Revision: 89521

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

Modified:
    trunk/apps/app_url.c
    trunk/funcs/func_blacklist.c
    trunk/funcs/func_global.c
    trunk/funcs/func_md5.c
    trunk/funcs/func_module.c
    trunk/funcs/func_sha1.c

Modified: trunk/apps/app_url.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_url.c?view=diff&rev=89521&r1=89520&r2=89521
==============================================================================
--- trunk/apps/app_url.c (original)
+++ trunk/apps/app_url.c Wed Nov 21 20:30:58 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/image.h"
 #include "asterisk/app.h"
 
 static char *app = "SendURL";

Modified: trunk/funcs/func_blacklist.c
URL: http://svn.digium.com/view/asterisk/trunk/funcs/func_blacklist.c?view=diff&rev=89521&r1=89520&r2=89521
==============================================================================
--- trunk/funcs/func_blacklist.c (original)
+++ trunk/funcs/func_blacklist.c Wed Nov 21 20:30:58 2007
@@ -30,14 +30,9 @@
 
 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/image.h"
-#include "asterisk/callerid.h"
+#include "asterisk/channel.h"
 #include "asterisk/astdb.h"
 
 static int blacklist_read(struct ast_channel *chan, const char *cmd, char *data, char *buf, size_t len)

Modified: trunk/funcs/func_global.c
URL: http://svn.digium.com/view/asterisk/trunk/funcs/func_global.c?view=diff&rev=89521&r1=89520&r2=89521
==============================================================================
--- trunk/funcs/func_global.c (original)
+++ trunk/funcs/func_global.c Wed Nov 21 20:30:58 2007
@@ -32,9 +32,7 @@
 #include <sys/stat.h>
 
 #include "asterisk/module.h"
-#include "asterisk/channel.h"
 #include "asterisk/pbx.h"
-#include "asterisk/utils.h"
 
 static int global_read(struct ast_channel *chan, const char *cmd, char *data, char *buf, size_t len)
 {

Modified: trunk/funcs/func_md5.c
URL: http://svn.digium.com/view/asterisk/trunk/funcs/func_md5.c?view=diff&rev=89521&r1=89520&r2=89521
==============================================================================
--- trunk/funcs/func_md5.c (original)
+++ trunk/funcs/func_md5.c Wed Nov 21 20:30:58 2007
@@ -31,10 +31,7 @@
 ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
 
 #include "asterisk/module.h"
-#include "asterisk/channel.h"
 #include "asterisk/pbx.h"
-#include "asterisk/utils.h"
-#include "asterisk/app.h"
 
 static int md5(struct ast_channel *chan, const char *cmd, char *data,
 	       char *buf, size_t len)

Modified: trunk/funcs/func_module.c
URL: http://svn.digium.com/view/asterisk/trunk/funcs/func_module.c?view=diff&rev=89521&r1=89520&r2=89521
==============================================================================
--- trunk/funcs/func_module.c (original)
+++ trunk/funcs/func_module.c Wed Nov 21 20:30:58 2007
@@ -25,13 +25,8 @@
 
 ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
 
-#include <sys/stat.h>
-
 #include "asterisk/module.h"
-#include "asterisk/channel.h"
 #include "asterisk/pbx.h"
-#include "asterisk/utils.h"
-#include "asterisk/app.h"
 
 static int ifmodule_read(struct ast_channel *chan, const char *cmd, char *data,
 		    char *buf, size_t len)

Modified: trunk/funcs/func_sha1.c
URL: http://svn.digium.com/view/asterisk/trunk/funcs/func_sha1.c?view=diff&rev=89521&r1=89520&r2=89521
==============================================================================
--- trunk/funcs/func_sha1.c (original)
+++ trunk/funcs/func_sha1.c Wed Nov 21 20:30:58 2007
@@ -29,10 +29,7 @@
 ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
 
 #include "asterisk/module.h"
-#include "asterisk/channel.h"
 #include "asterisk/pbx.h"
-#include "asterisk/utils.h"
-#include "asterisk/app.h"
 
 static int sha1(struct ast_channel *chan, const char *cmd, char *data,
 		char *buf, size_t len)




More information about the asterisk-commits mailing list