[asterisk-commits] russell: branch group/sip-tcptls r92362 - in /team/group/sip-tcptls: include/...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Dec 11 13:46:25 CST 2007


Author: russell
Date: Tue Dec 11 13:46:24 2007
New Revision: 92362

URL: http://svn.digium.com/view/asterisk?view=rev&rev=92362
Log:
reduce includes in server.c

Modified:
    team/group/sip-tcptls/include/asterisk/http.h
    team/group/sip-tcptls/main/server.c

Modified: team/group/sip-tcptls/include/asterisk/http.h
URL: http://svn.digium.com/view/asterisk/team/group/sip-tcptls/include/asterisk/http.h?view=diff&rev=92362&r1=92361&r2=92362
==============================================================================
--- team/group/sip-tcptls/include/asterisk/http.h (original)
+++ team/group/sip-tcptls/include/asterisk/http.h Tue Dec 11 13:46:24 2007
@@ -21,6 +21,7 @@
 
 #include "asterisk/config.h"
 #include "asterisk/server.h"
+#include "asterisk/linkedlists.h"
 
 /*!
  * \file http.h

Modified: team/group/sip-tcptls/main/server.c
URL: http://svn.digium.com/view/asterisk/team/group/sip-tcptls/main/server.c?view=diff&rev=92362&r1=92361&r2=92362
==============================================================================
--- team/group/sip-tcptls/main/server.c (original)
+++ team/group/sip-tcptls/main/server.c Tue Dec 11 13:46:24 2007
@@ -20,31 +20,18 @@
 
 ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
 
-#include <sys/types.h>
-#include <stdio.h>
-#include <unistd.h>
-#include <stdlib.h>
-#include <time.h>
-#include <string.h>
-#include <netinet/in.h>
-#include <sys/time.h>
-#include <sys/socket.h>
-#include <sys/stat.h>
+#ifdef HAVE_FCNTL_H
+#include <fcntl.h>
+#endif
+
 #include <sys/signal.h>
-#include <arpa/inet.h>
-#include <errno.h>
-#include <fcntl.h>
-#include <pthread.h>
-
-#include "asterisk/cli.h"
+
+#include "asterisk/compat.h"
 #include "asterisk/server.h"
 #include "asterisk/http.h"
 #include "asterisk/utils.h"
 #include "asterisk/strings.h"
 #include "asterisk/options.h"
-#include "asterisk/config.h"
-#include "asterisk/stringfields.h"
-#include "asterisk/version.h"
 #include "asterisk/manager.h"
 
 #ifdef DO_SSL




More information about the asterisk-commits mailing list