PERFORCE change 44738 for review

Sam Leffler sam at FreeBSD.org
Sat Jan 3 08:06:34 PST 2004


http://perforce.freebsd.org/chv.cgi?CH=44738

Change 44738 by sam at sam_ebb on 2004/01/03 08:06:29

	remove unneeded ifdef _KERNEL stuff; the real culprit was
	a dangling p4 resolve that lost some includes

Affected files ...

.. //depot/projects/netperf+sockets/sys/sys/socketvar.h#9 edit

Differences ...

==== //depot/projects/netperf+sockets/sys/sys/socketvar.h#9 (text+ko) ====

@@ -37,7 +37,6 @@
 #ifndef _SYS_SOCKETVAR_H_
 #define _SYS_SOCKETVAR_H_
 
-#ifdef _KERNEL
 #include <sys/queue.h>			/* for TAILQ macros */
 #include <sys/selinfo.h>		/* for struct selinfo */
 #include <sys/_lock.h>
@@ -153,8 +152,6 @@
 #define	SOCK_UNLOCK(_so)		SOCKBUF_UNLOCK(&(_so)->so_rcv)
 #define	SOCK_LOCK_ASSERT(_so)		SOCKBUF_LOCK_ASSERT(&(_so)->so_rcv)
 
-#endif /* _KERNEL */
-
 /*
  * Socket state bits.
  */


More information about the p4-projects mailing list