[asterisk-commits] tilghman: trunk r85140 - in /trunk: apps/ channels/ utils/

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Oct 9 11:04:41 CDT 2007


Author: tilghman
Date: Tue Oct  9 11:04:41 2007
New Revision: 85140

URL: http://svn.digium.com/view/asterisk?view=rev&rev=85140
Log:
Remove redundant includes (patch by snuffy) (Closes issue #10922)

Modified:
    trunk/apps/app_adsiprog.c
    trunk/apps/app_dial.c
    trunk/apps/app_festival.c
    trunk/apps/app_minivm.c
    trunk/apps/app_zapras.c
    trunk/channels/chan_jingle.c
    trunk/channels/chan_misdn.c
    trunk/utils/astman.c
    trunk/utils/check_expr.c

Modified: trunk/apps/app_adsiprog.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_adsiprog.c?view=diff&rev=85140&r1=85139&r2=85140
==============================================================================
--- trunk/apps/app_adsiprog.c (original)
+++ trunk/apps/app_adsiprog.c Tue Oct  9 11:04:41 2007
@@ -38,7 +38,6 @@
 #include <stdlib.h>
 #include <unistd.h>
 #include <string.h>
-#include <stdlib.h>
 #include <ctype.h>
 #include <stdio.h>
 #include <errno.h>

Modified: trunk/apps/app_dial.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_dial.c?view=diff&rev=85140&r1=85139&r2=85140
==============================================================================
--- trunk/apps/app_dial.c (original)
+++ trunk/apps/app_dial.c Tue Oct  9 11:04:41 2007
@@ -33,7 +33,6 @@
 #include <errno.h>
 #include <unistd.h>
 #include <string.h>
-#include <stdlib.h>
 #include <stdio.h>
 #include <sys/time.h>
 #include <sys/signal.h>

Modified: trunk/apps/app_festival.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_festival.c?view=diff&rev=85140&r1=85139&r2=85140
==============================================================================
--- trunk/apps/app_festival.c (original)
+++ trunk/apps/app_festival.c Tue Oct  9 11:04:41 2007
@@ -36,15 +36,12 @@
 #include <unistd.h>
 #include <string.h>
 #include <stdlib.h>
-#include <sys/types.h>
 #include <sys/socket.h>
 #include <netdb.h>
 #include <netinet/in.h>
 #include <arpa/inet.h>
 #include <stdio.h>
 #include <signal.h>
-#include <stdlib.h>
-#include <unistd.h>
 #include <fcntl.h>
 #include <ctype.h>
 

Modified: trunk/apps/app_minivm.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_minivm.c?view=diff&rev=85140&r1=85139&r2=85140
==============================================================================
--- trunk/apps/app_minivm.c (original)
+++ trunk/apps/app_minivm.c Tue Oct  9 11:04:41 2007
@@ -145,7 +145,6 @@
 #include <errno.h>
 #include <unistd.h>
 #include <string.h>
-#include <stdlib.h>
 #include <stdio.h>
 #include <ctype.h>
 #include <sys/time.h>

Modified: trunk/apps/app_zapras.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_zapras.c?view=diff&rev=85140&r1=85139&r2=85140
==============================================================================
--- trunk/apps/app_zapras.c (original)
+++ trunk/apps/app_zapras.c Tue Oct  9 11:04:41 2007
@@ -44,7 +44,6 @@
 #include <stdlib.h>
 #include <unistd.h>
 #include <string.h>
-#include <stdlib.h>
 #include <errno.h>
 #include <stdio.h>
 #include <fcntl.h>

Modified: trunk/channels/chan_jingle.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_jingle.c?view=diff&rev=85140&r1=85139&r2=85140
==============================================================================
--- trunk/channels/chan_jingle.c (original)
+++ trunk/channels/chan_jingle.c Tue Oct  9 11:04:41 2007
@@ -43,7 +43,6 @@
 #include <unistd.h>
 #include <sys/socket.h>
 #include <errno.h>
-#include <stdlib.h>
 #include <fcntl.h>
 #include <netdb.h>
 #include <netinet/in.h>

Modified: trunk/channels/chan_misdn.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_misdn.c?view=diff&rev=85140&r1=85139&r2=85140
==============================================================================
--- trunk/channels/chan_misdn.c (original)
+++ trunk/channels/chan_misdn.c Tue Oct  9 11:04:41 2007
@@ -302,7 +302,7 @@
 #define MISDN_ASTERISK_TECH_PVT(ast) ast->tech_pvt
 #define MISDN_ASTERISK_PVT(ast) 1
 
-#include <asterisk/strings.h>
+#include "asterisk/strings.h"
 
 /* #define MISDN_DEBUG 1 */
 

Modified: trunk/utils/astman.c
URL: http://svn.digium.com/view/asterisk/trunk/utils/astman.c?view=diff&rev=85140&r1=85139&r2=85140
==============================================================================
--- trunk/utils/astman.c (original)
+++ trunk/utils/astman.c Tue Oct  9 11:04:41 2007
@@ -32,7 +32,6 @@
 #include <sys/select.h>
 #include <fcntl.h>
 #include <string.h>
-#include <stdio.h>
 #include <errno.h>
 #include <unistd.h>
 #include <stdlib.h>

Modified: trunk/utils/check_expr.c
URL: http://svn.digium.com/view/asterisk/trunk/utils/check_expr.c?view=diff&rev=85140&r1=85139&r2=85140
==============================================================================
--- trunk/utils/check_expr.c (original)
+++ trunk/utils/check_expr.c Tue Oct  9 11:04:41 2007
@@ -27,8 +27,8 @@
 	char x; /* basically empty! */
 };
 
-#include <../include/asterisk/compat.h>
-#include <../include/asterisk/ast_expr.h>
+#include "../include/asterisk/compat.h"
+#include "../include/asterisk/ast_expr.h"
 
 #define AST_API_MODULE 1
 #include "asterisk/inline_api.h"




More information about the asterisk-commits mailing list