]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - filter_common.c
Make FOR_EACH_SUPPORTED_FILTER() local to filter_common.c.
[paraslash.git] / filter_common.c
index 6db0c57f6a062f923abdb2eafb807d0a547eff82..53cde746001b6a42eb8e482addcd6231ad5560d5 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2005-2014 Andre Noll <maan@tuebingen.mpg.de>
+ * Copyright (C) 2005 Andre Noll <maan@tuebingen.mpg.de>
  *
  * 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};