Skip to content

Commit

Permalink
list: drop unnecessary line continuation
Browse files Browse the repository at this point in the history
  • Loading branch information
yuwata committed Dec 24, 2021
1 parent 9bcf483 commit cbf8fc9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion coccinelle/macros.h
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@
} while (false)

#define LIST_JUST_US(name,item) \
(!(item)->name##_prev && !(item)->name##_next) \
(!(item)->name##_prev && !(item)->name##_next)
#define LIST_FOREACH(name,i,head) \
for ((i) = (head); (i); (i) = (i)->name##_next)
#define LIST_FOREACH_SAFE(name,i,n,head) \
Expand Down
2 changes: 1 addition & 1 deletion src/basic/list.h
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@
} while (false)

#define LIST_JUST_US(name,item) \
(!(item)->name##_prev && !(item)->name##_next) \
(!(item)->name##_prev && !(item)->name##_next)

#define LIST_FOREACH(name,i,head) \
for ((i) = (head); (i); (i) = (i)->name##_next)
Expand Down

0 comments on commit cbf8fc9

Please sign in to comment.