X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=filter_common.c;h=53cde746001b6a42eb8e482addcd6231ad5560d5;hb=de86b880e37b54167ed21198d99156b0acb657d3;hp=009ac936d55a7e398f623e6c374a4df68e5e06f4;hpb=837cd1ab890645d9fd7d0d85139fdf076d987ea4;p=paraslash.git diff --git a/filter_common.c b/filter_common.c index 009ac936..53cde746 100644 --- a/filter_common.c +++ b/filter_common.c @@ -19,6 +19,9 @@ #include "error.h" #include "string.h" +/** Iterate over the array of supported filters. */ +#define FOR_EACH_SUPPORTED_FILTER(j) for (j = 0; j < NUM_SUPPORTED_FILTERS; j++) + /** The array of supported filters. */ struct filter filters[NUM_SUPPORTED_FILTERS] = {FILTER_ARRAY};