[asterisk-commits] rizzo: trunk r89542 - in /trunk/main: acl.c app.c http.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Sat Nov 24 07:48:49 CST 2007
Author: rizzo
Date: Sat Nov 24 07:48:48 2007
New Revision: 89542
URL: http://svn.digium.com/view/asterisk?view=rev&rev=89542
Log:
remove some unnecessary includes
Modified:
trunk/main/acl.c
trunk/main/app.c
trunk/main/http.c
Modified: trunk/main/acl.c
URL: http://svn.digium.com/view/asterisk/trunk/main/acl.c?view=diff&rev=89542&r1=89541&r2=89542
==============================================================================
--- trunk/main/acl.c (original)
+++ trunk/main/acl.c Sat Nov 24 07:48:48 2007
@@ -28,14 +28,6 @@
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include "asterisk/network.h"
-
-#include <sys/time.h>
-#include <signal.h>
-#include <sys/ioctl.h>
-
-#if defined(__OpenBSD__) || defined(__NetBSD__) || defined(__FreeBSD__)
-#include <fcntl.h>
-#endif
#if defined(SOLARIS)
#include <sys/sockio.h>
Modified: trunk/main/app.c
URL: http://svn.digium.com/view/asterisk/trunk/main/app.c?view=diff&rev=89542&r1=89541&r2=89542
==============================================================================
--- trunk/main/app.c (original)
+++ trunk/main/app.c Sat Nov 24 07:48:48 2007
@@ -27,11 +27,9 @@
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
-#include <sys/time.h>
-#include <signal.h>
-#include <dirent.h>
+#ifdef HAVE_SYS_STAT_H
#include <sys/stat.h>
-#include <sys/file.h>
+#endif
#include <regex.h>
#include "asterisk/paths.h" /* use ast_config_AST_DATA_DIR */
Modified: trunk/main/http.c
URL: http://svn.digium.com/view/asterisk/trunk/main/http.c?view=diff&rev=89542&r1=89541&r2=89542
==============================================================================
--- trunk/main/http.c (original)
+++ trunk/main/http.c Sat Nov 24 07:48:48 2007
@@ -39,7 +39,6 @@
#include <sys/stat.h>
#include <sys/signal.h>
#include <fcntl.h>
-#include <pthread.h>
#include "minimime/mm.h"
More information about the asterisk-commits
mailing list