summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2021-12-24 11:21:16 +0100
committerYu Watanabe <watanabe.yu+github@gmail.com>2021-12-24 16:47:37 +0100
commitcbf8fc90d50733e9096f73d590541213aa158c26 (patch)
tree7cd436c4903334f525d1458f202bd1e8e29befe3
parentmeson: fix build with -Dcryptolib=openssl -Ddns-over-tls=false (diff)
downloadsystemd-cbf8fc90d50733e9096f73d590541213aa158c26.tar.xz
systemd-cbf8fc90d50733e9096f73d590541213aa158c26.zip
list: drop unnecessary line continuation
Fixes #21886.
-rw-r--r--coccinelle/macros.h2
-rw-r--r--src/basic/list.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/coccinelle/macros.h b/coccinelle/macros.h
index 0be4aaea42..6a0a64bb05 100644
--- a/coccinelle/macros.h
+++ b/coccinelle/macros.h
@@ -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) \
diff --git a/src/basic/list.h b/src/basic/list.h
index effee0e435..f827e721eb 100644
--- a/src/basic/list.h
+++ b/src/basic/list.h
@@ -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)