The macro is only used in this .c file, so it should not be
public. This patch moves the macro from filter.h to filter_common.c.
DECLARE_FILTER_INITS
-/** Iterate over the array of supported filters. */
-#define FOR_EACH_SUPPORTED_FILTER(j) for (j = 0; j < NUM_SUPPORTED_FILTERS; j++)
-
/** The filter array, one structure for each supported filter. */
extern struct filter filters[NUM_SUPPORTED_FILTERS];
#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};