PERFORCE change 100627 for review

Paolo Pisati piso at FreeBSD.org
Wed Jul 5 13:19:13 UTC 2006


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

Change 100627 by piso at piso_newluxor on 2006/07/05 13:19:00

	Avoid duplication.

Affected files ...

.. //depot/projects/soc2005/libalias/sys/netinet/libalias/alias_mod.h#8 edit

Differences ...

==== //depot/projects/soc2005/libalias/sys/netinet/libalias/alias_mod.h#8 (text+ko) ====

@@ -79,18 +79,14 @@
 	struct proto_handler *next;
 };
 
-#ifdef _KERNEL
+
 // XXX - convert it to use queue(3)
 struct chain {
 	void            *chain;	
+#ifdef _KERNEL
 	struct rwlock   rw;
-};
-#else
-// XXX - convert it to use queue(3)
-struct chain {
-	void            *chain;	
+#endif
 };
-#endif
 
 /* 
  * Used only in userland when libalias needs to keep track of all


More information about the p4-projects mailing list