X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=filter_common.c;h=53cde746001b6a42eb8e482addcd6231ad5560d5;hb=7eab3b26d6c5094ad13bf64ac07eaed57f7b69a0;hp=616a7601a76e30db8ccfaeca408cf60f5dc36fab;hpb=093dda1824631372587d107d64601389027c6187;p=paraslash.git diff --git a/filter_common.c b/filter_common.c index 616a7601..53cde746 100644 --- a/filter_common.c +++ b/filter_common.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2005-2014 Andre Noll + * Copyright (C) 2005 Andre Noll * * Licensed under the GPL v2. For licencing details see COPYING. */ @@ -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};