Remove superfluous typedef

This commit is contained in:
Johan Wikman
2017-01-17 09:31:53 +02:00
parent af045f182b
commit 8d2f4707a4

View File

@ -25,7 +25,7 @@ MXS_BEGIN_DECLS
* This is basically the link between a plugin to load and the * This is basically the link between a plugin to load and the
* options to pass to that plugin. * options to pass to that plugin.
*/ */
typedef struct mxs_filter_def struct mxs_filter_def
{ {
char *name; /**< The Filter name */ char *name; /**< The Filter name */
char *module; /**< The module to load */ 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 */ MXS_FILTER_OBJECT *obj; /**< The "MODULE_OBJECT" for the filter */
SPINLOCK spin; /**< Spinlock to protect the filter definition */ SPINLOCK spin; /**< Spinlock to protect the filter definition */
struct mxs_filter_def *next; /**< Next filter in the chain of all filters */ 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_option(MXS_FILTER_DEF *filter_def, const char *option);
void filter_add_parameter(MXS_FILTER_DEF *filter_def, const char *name, const char *value); void filter_add_parameter(MXS_FILTER_DEF *filter_def, const char *name, const char *value);