diff options
author | Richard Braun <rbraun@sceen.net> | 2018-04-14 22:03:50 +0200 |
---|---|---|
committer | Richard Braun <rbraun@sceen.net> | 2018-04-14 22:08:47 +0200 |
commit | d4a39d61e853f570ec8d599e9500a80b035fb61f (patch) | |
tree | 5a5d7720c9e4d93a5f63beec9d7a0cedd1dcd62d /kern/list.h | |
parent | 4033816a7ce4a24230f462b5c22183c1b45e24df (diff) |
Rename variables in function-like macros
Diffstat (limited to 'kern/list.h')
-rw-r--r-- | kern/list.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/kern/list.h b/kern/list.h index 8163176..2ba7f09 100644 --- a/kern/list.h +++ b/kern/list.h @@ -480,14 +480,14 @@ list_rcu_remove(struct list *node) */ #define list_rcu_first_entry(head, type, member) \ MACRO_BEGIN \ - struct list *list___; \ - struct list *first___; \ + struct list *list_; \ + struct list *first_; \ \ - list___ = (head); \ - first___ = list_rcu_first(list___); \ - list_end(list___, first___) \ + list_ = (head); \ + first_ = list_rcu_first(list_); \ + list_end(list_, first_) \ ? NULL \ - : list_entry(first___, type, member); \ + : list_entry(first_, type, member); \ MACRO_END /* @@ -499,14 +499,14 @@ MACRO_END */ #define list_rcu_next_entry(head, entry, member) \ MACRO_BEGIN \ - struct list *list___; \ - struct list *next___; \ + struct list *list_; \ + struct list *next_; \ \ - list___ = (head); \ - next___ = list_rcu_next(&entry->member); \ - list_end(list___, next___) \ + list_ = (head); \ + next_ = list_rcu_next(&entry->member); \ + list_end(list_, next_) \ ? NULL \ - : list_entry(next___, typeof(*entry), member); \ + : list_entry(next_, typeof(*entry), member); \ MACRO_END /* |