svn commit: r204735 - head/sys/netinet/ipfw/test
Luigi Rizzo
luigi at FreeBSD.org
Thu Mar 4 21:02:00 UTC 2010
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) \
More information about the svn-src-head
mailing list