From 8d2f4707a49d45e52f014eeefb48d30b928ac35a Mon Sep 17 00:00:00 2001 From: Johan Wikman Date: Tue, 17 Jan 2017 09:31:53 +0200 Subject: [PATCH] Remove superfluous typedef --- server/core/maxscale/filter.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/core/maxscale/filter.h b/server/core/maxscale/filter.h index afd08d37e..ba1afdff0 100644 --- a/server/core/maxscale/filter.h +++ b/server/core/maxscale/filter.h @@ -25,7 +25,7 @@ MXS_BEGIN_DECLS * This is basically the link between a plugin to load and the * options to pass to that plugin. */ -typedef struct mxs_filter_def +struct mxs_filter_def { char *name; /**< The Filter name */ char *module; /**< The module to load */ @@ -35,7 +35,7 @@ typedef struct mxs_filter_def MXS_FILTER_OBJECT *obj; /**< The "MODULE_OBJECT" for the filter */ SPINLOCK spin; /**< Spinlock to protect the filter definition */ struct mxs_filter_def *next; /**< Next filter in the chain of all filters */ -} MXS_FILTER_DEF; +}; void filter_add_option(MXS_FILTER_DEF *filter_def, const char *option); void filter_add_parameter(MXS_FILTER_DEF *filter_def, const char *name, const char *value);