[asterisk-commits] rizzo: trunk r89384 - in /trunk: channels/ main/
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Sat Nov 17 10:18:53 CST 2007
Author: rizzo
Date: Sat Nov 17 10:18:53 2007
New Revision: 89384
URL: http://svn.digium.com/view/asterisk?view=rev&rev=89384
Log:
trim more redundant headers
Modified:
trunk/channels/chan_features.c
trunk/channels/chan_local.c
trunk/main/config.c
trunk/main/http.c
trunk/main/translate.c
Modified: trunk/channels/chan_features.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_features.c?view=diff&rev=89384&r1=89383&r2=89384
==============================================================================
--- trunk/channels/chan_features.c (original)
+++ trunk/channels/chan_features.c Sat Nov 17 10:18:53 2007
@@ -34,12 +34,8 @@
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
-#include <sys/socket.h>
#include <errno.h>
#include <fcntl.h>
-#include <netdb.h>
-#include <netinet/in.h>
-#include <arpa/inet.h>
#include <sys/signal.h>
#include "asterisk/lock.h"
Modified: trunk/channels/chan_local.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_local.c?view=diff&rev=89384&r1=89383&r2=89384
==============================================================================
--- trunk/channels/chan_local.c (original)
+++ trunk/channels/chan_local.c Sat Nov 17 10:18:53 2007
@@ -29,12 +29,8 @@
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
-#include <sys/socket.h>
#include <errno.h>
#include <fcntl.h>
-#include <netdb.h>
-#include <netinet/in.h>
-#include <arpa/inet.h>
#include <sys/signal.h>
#include "asterisk/lock.h"
Modified: trunk/main/config.c
URL: http://svn.digium.com/view/asterisk/trunk/main/config.c?view=diff&rev=89384&r1=89383&r2=89384
==============================================================================
--- trunk/main/config.c (original)
+++ trunk/main/config.c Sat Nov 17 10:18:53 2007
@@ -30,10 +30,10 @@
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
+#include "asterisk/network.h" /* we do some sockaddr manipulation here */
#include <errno.h>
#include <time.h>
#include <sys/stat.h>
-#include <sys/socket.h> /* for AF_INET */
#define AST_INCLUDE_GLOB 1
#ifdef AST_INCLUDE_GLOB
#if defined(__Darwin__) || defined(__CYGWIN__)
Modified: trunk/main/http.c
URL: http://svn.digium.com/view/asterisk/trunk/main/http.c?view=diff&rev=89384&r1=89383&r2=89384
==============================================================================
--- trunk/main/http.c (original)
+++ trunk/main/http.c Sat Nov 17 10:18:53 2007
@@ -32,13 +32,11 @@
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
+#include "asterisk/network.h"
#include <time.h>
-#include <netinet/in.h>
#include <sys/time.h>
-#include <sys/socket.h>
#include <sys/stat.h>
#include <sys/signal.h>
-#include <arpa/inet.h>
#include <errno.h>
#include <fcntl.h>
#include <pthread.h>
Modified: trunk/main/translate.c
URL: http://svn.digium.com/view/asterisk/trunk/main/translate.c?view=diff&rev=89384&r1=89383&r2=89384
==============================================================================
--- trunk/main/translate.c (original)
+++ trunk/main/translate.c Sat Nov 17 10:18:53 2007
@@ -27,7 +27,6 @@
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
-#include <sys/socket.h>
#include <sys/time.h>
#include <sys/resource.h>
More information about the asterisk-commits
mailing list