Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Jul 2006 13:19:10 GMT
From:      Paolo Pisati <piso@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 100627 for review
Message-ID:  <200607051319.k65DJA4p032892@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=100627

Change 100627 by piso@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200607051319.k65DJA4p032892>