[svn-commits] rizzo: trunk r89517 - in /trunk/main: file.c netsock.c
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Wed Nov 21 19:13:46 CST 2007
Author: rizzo
Date: Wed Nov 21 19:13:46 2007
New Revision: 89517
URL: http://svn.digium.com/view/asterisk?view=rev&rev=89517
Log:
more removal of fcntl.h and other system headers
Modified:
trunk/main/file.c
trunk/main/netsock.c
Modified: trunk/main/file.c
URL: http://svn.digium.com/view/asterisk/trunk/main/file.c?view=diff&rev=89517&r1=89516&r2=89517
==============================================================================
--- trunk/main/file.c (original)
+++ trunk/main/file.c Wed Nov 21 19:13:46 2007
@@ -27,7 +27,6 @@
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
-#include <fcntl.h>
#include <dirent.h>
#include <sys/stat.h>
Modified: trunk/main/netsock.c
URL: http://svn.digium.com/view/asterisk/trunk/main/netsock.c?view=diff&rev=89517&r1=89516&r2=89517
==============================================================================
--- trunk/main/netsock.c (original)
+++ trunk/main/netsock.c Wed Nov 21 19:13:46 2007
@@ -29,23 +29,12 @@
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
-#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>
#endif
#include "asterisk/netsock.h"
-#include "asterisk/channel.h"
#include "asterisk/utils.h"
-#include "asterisk/lock.h"
-#include "asterisk/srv.h"
struct ast_netsock {
ASTOBJ_COMPONENTS(struct ast_netsock);
More information about the svn-commits
mailing list