From owner-svn-src-all@FreeBSD.ORG Thu Mar 4 21:02:00 2010 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4AE841065673; Thu, 4 Mar 2010 21:02:00 +0000 (UTC) (envelope-from luigi@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 38E458FC18; Thu, 4 Mar 2010 21:02:00 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id o24L20Vx087804; Thu, 4 Mar 2010 21:02:00 GMT (envelope-from luigi@svn.freebsd.org) Received: (from luigi@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id o24L20Sp087802; Thu, 4 Mar 2010 21:02:00 GMT (envelope-from luigi@svn.freebsd.org) Message-Id: <201003042102.o24L20Sp087802@svn.freebsd.org> From: Luigi Rizzo Date: Thu, 4 Mar 2010 21:02:00 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r204735 - head/sys/netinet/ipfw/test X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Mar 2010 21:02:00 -0000 Author: luigi Date: Thu Mar 4 21:01:59 2010 New Revision: 204735 URL: http://svn.freebsd.org/changeset/base/204735 Log: don't use keywords as variable names. Modified: head/sys/netinet/ipfw/test/mylist.h Modified: head/sys/netinet/ipfw/test/mylist.h ============================================================================== --- head/sys/netinet/ipfw/test/mylist.h Thu Mar 4 20:55:26 2010 (r204734) +++ head/sys/netinet/ipfw/test/mylist.h Thu Mar 4 21:01:59 2010 (r204735) @@ -13,19 +13,19 @@ struct list_head { #define INIT_LIST_HEAD(l) do { (l)->prev = (l)->next = (l); } while (0) #define list_empty(l) ( (l)->next == l ) static inline void -__list_add(struct list_head *new, struct list_head *prev, +__list_add(struct list_head *o, struct list_head *prev, struct list_head *next) { - next->prev = new; - new->next = next; - new->prev = prev; - prev->next = new; + next->prev = o; + o->next = next; + o->prev = prev; + prev->next = o; } static inline void -list_add_tail(struct list_head *new, struct list_head *head) +list_add_tail(struct list_head *o, struct list_head *head) { - __list_add(new, head->prev, head); + __list_add(o, head->prev, head); } #define list_first_entry(pL, ty, member) \