projects
/
paraslash.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
12dc519
)
filter: Simplify FOR_EACH_FILTER().
author
Andre Noll
<maan@tuebingen.mpg.de>
Mon, 14 Aug 2017 00:00:33 +0000
(
02:00
+0200)
committer
Andre Noll
<maan@tuebingen.mpg.de>
Sat, 26 Aug 2017 19:09:42 +0000
(21:09 +0200)
Use the FILTER_CMD() macro rather than open-coding it.
filter_common.c
patch
|
blob
|
history
diff --git
a/filter_common.c
b/filter_common.c
index
b406951
..
5533d4d
100644
(file)
--- a/
filter_common.c
+++ b/
filter_common.c
@@
-21,7
+21,7
@@
#include "string.h"
/** Iterate over all filters. */
-#define FOR_EACH_FILTER(j) for (j = 1;
lls_cmd(j, filter_cmd_suite
); j++)
+#define FOR_EACH_FILTER(j) for (j = 1;
FILTER_CMD(j
); j++)
/**
* Obtain a reference to a filter structure.