summaryrefslogtreecommitdiffstats
path: root/sys/netinet
diff options
context:
space:
mode:
authorluigi <luigi@FreeBSD.org>2010-03-04 21:01:59 +0000
committerluigi <luigi@FreeBSD.org>2010-03-04 21:01:59 +0000
commit34f9fab9a3f681cb6d5262aab971706a0b6f5453 (patch)
tree695194e58ab214d47c2ac8eff3e5e4c51678eaec /sys/netinet
parentc0fe6aeb106b8c417cf7a458ba3f50238c19afb8 (diff)
downloadFreeBSD-src-34f9fab9a3f681cb6d5262aab971706a0b6f5453.zip
FreeBSD-src-34f9fab9a3f681cb6d5262aab971706a0b6f5453.tar.gz
don't use keywords as variable names.
Diffstat (limited to 'sys/netinet')
-rw-r--r--sys/netinet/ipfw/test/mylist.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/sys/netinet/ipfw/test/mylist.h b/sys/netinet/ipfw/test/mylist.h
index ebc7d11..6247f32 100644
--- a/sys/netinet/ipfw/test/mylist.h
+++ b/sys/netinet/ipfw/test/mylist.h
@@ -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) \
OpenPOWER on IntegriCloud