projects
/
platform
/
upstream
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8f27a22
)
strv: fix STRV_FOREACH_PAIR macro definition
author
Lennart Poettering
<lennart@poettering.net>
Fri, 15 Mar 2013 15:41:13 +0000
(16:41 +0100)
committer
Lennart Poettering
<lennart@poettering.net>
Fri, 15 Mar 2013 15:49:07 +0000
(16:49 +0100)
src/shared/strv.h
patch
|
blob
|
history
diff --git
a/src/shared/strv.h
b/src/shared/strv.h
index
da9fae6
..
49058f8
100644
(file)
--- a/
src/shared/strv.h
+++ b/
src/shared/strv.h
@@
-77,7
+77,7
@@
bool strv_overlap(char **a, char **b);
for (; (l) && ((s) >= (l)); (s)--)
#define STRV_FOREACH_PAIR(x, y, l) \
- for ((x) = (l), (y) = (x+1); (x) && *(x) && *(y); (x) += 2)
+ for ((x) = (l), (y) = (x+1); (x) && *(x) && *(y); (x) += 2
, (y) = (x + 1)
)
char **strv_sort(char **l);