From owner-p4-projects@FreeBSD.ORG Wed Jul 5 13:19:13 2006 Return-Path: X-Original-To: p4-projects@freebsd.org Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 8E18E16A4DE; Wed, 5 Jul 2006 13:19:13 +0000 (UTC) X-Original-To: perforce@freebsd.org Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6A0FD16A4DA for ; Wed, 5 Jul 2006 13:19:13 +0000 (UTC) (envelope-from piso@freebsd.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id B425143D62 for ; Wed, 5 Jul 2006 13:19:10 +0000 (GMT) (envelope-from piso@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id k65DJAIV032895 for ; Wed, 5 Jul 2006 13:19:10 GMT (envelope-from piso@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id k65DJA4p032892 for perforce@freebsd.org; Wed, 5 Jul 2006 13:19:10 GMT (envelope-from piso@freebsd.org) Date: Wed, 5 Jul 2006 13:19:10 GMT Message-Id: <200607051319.k65DJA4p032892@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to piso@freebsd.org using -f From: Paolo Pisati To: Perforce Change Reviews Cc: Subject: PERFORCE change 100627 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Jul 2006 13:19:13 -0000 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